3 nodes cluster missing data

I recently had to reboot a server with crate running in a docker container composed of 3 nodes. Once booted again, I tried to bring them up again but the tables and views were missing even though I created a persistent volume for each of the nodes. Is this behaviour normal or what could be the cause?

Hi @cande1gut

CrateDB typically handles full cluster reboots without any data loss/problems. When you start a crate node, that previously was part of a cluster It would only join the same cluster again, unless there was any kind of manual intervention (e.g. detaching from cluster, change of data directory).

Could it be, that you didn’t reuse the persistent volumes for the new nodes again? Are all the nodes running on the same machine sharing a volume?
Can you maybe share the docker commands/config used to start the docker containers?

Startup logs would always also be very helpful

Best regards
Georg

1 Like

@proddata My bad, I didn’t check a root cause was because of a missing mounted drive. Everything is back again, phew! Thank you.

1 Like

@proddata What would be a case that one of them goes down?

@proddata What would be a case that one of them goes down?

Various reasons e.g hardware problems or some other (typical external reason).