I have problem with understanding how to create pxc with data persistent.
I have 3 replicas on 3 different nodes and mounted directory from host.
This works ok till I kill one of nodes. Docker swarm tries to create container on another host where one of replicas is working.
Now I have problem that two containers access same folder which is undesirable outcome.
Another scenario is to start 5 replicas on the same host. How to work with data in that scenario?