Why don't we make mysqld_safe check for this state (non-zero uuid and -1 seqno) before it decides to bother with wsrep_recover?
I would also submit that wsrep_recover should be tried when the grastate is simply missing, but galera won't auto-generate a grastate from only --wsrep_start_position yet (https://bugs.launchpad.net/galera/+bug/1112724).
Actually, when I break it down, wsrep_recover's position (submitted via --wsrep_ start_position) is *only* used when the grastate looks like this:
uuid: 9d241cd3- c46c-11e2- 0800-81ab1e4b64 e6
seqno: -1
Why don't we make mysqld_safe check for this state (non-zero uuid and -1 seqno) before it decides to bother with wsrep_recover?
I would also submit that wsrep_recover should be tried when the grastate is simply missing, but galera won't auto-generate a grastate from only --wsrep_ start_position yet (https:/ /bugs.launchpad .net/galera/ +bug/1112724).