pavel
pavel

Reputation: 41

Autorestarting mariadb cluster after node reconnection

I use official mariadb/columnstore docker image. I run docker compose with MaxScale and try to imitate the situation when one of the msc node is disconnected and connected again. I can see in mcs cluster status that dbrm_mode is offline and when I try to make queries from my app I get an error Lost connection to DDLProc until I restart cluster with mcs cluster restart command. Isn't it suppose to work automatically? What other settings may I need? Is this docker image production ready?

Upvotes: 0

Views: 96

Answers (1)

Todd Stoffel
Todd Stoffel

Reputation: 1

Assuming, no modifications to the project, you should be connecting to the cluster through MaxScale. The default port for MaxScale 1 is 3310.

Upvotes: 0

Related Questions