Table 'my_db.my_table' is a distributed table. You cannot query it from a leaf

I have java springboot server that uses jdbc:mariadb://my_server:3306/my_db to connect to DB.

Everything works well. After couple of hours I get an error:
Table ‘my_db.my_table’ is a distributed table. You cannot query it from a leaf.

Any idea why?

I’m using memsql that was install by Kubernetes according to support guidelines

Hi Yohay, can you paste the output of running the queries show databases extended, show aggregators and show leaves on the memSQL instance when this repros?