paulczar / docker-percona_galera

replicating mysql docker image
https://registry.hub.docker.com/u/paulczar/percona-galera/
Other
87 stars 30 forks source link

Fix issue where failed node cannot join back to cluster #16

Open kosztyua opened 8 years ago

kosztyua commented 8 years ago

Fix issue where failed node cannot join back to cluster because docker init phase generates one extra transaction. It turns out the FLUSH PRIVILEGES will push the transaction id in grastate.dat and will result in this issue: 2016-06-28 08:14:16 1899 [ERROR] WSREP: gcs/src/gcs_group.cpp:group_post_state_exchange():321: Reversing history: 935 -> 934, this member has applied 1 more events than the primary component.Data loss is possible. Aborting.