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.
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.