Hiya
I'm sorry if I am not getting it. After I stopped "mysqld_safe
--wsrep_recover" the seqno went back to -1. Why is that?
Please see my workings below.
root@Galera1:~# service mysql stop
Shutting down MySQL
[ ok .
root@Galera1:~# mysqld_safe --wsrep_recover
150813 11:57:11 mysqld_safe Can't log to error log and syslog at the
same time. Remove all --log-error configuration options for --syslog to
take effect.
150813 11:57:11 mysqld_safe Logging to '/var/log/mysql/error.log'.
150813 11:57:11 mysqld_safe Starting mysqld daemon with databases from /mnt
150813 11:57:11 mysqld_safe WSREP: Running position recovery with
--log_error='/mnt/wsrep_recovery.FFt623'
--pid-file='/mnt/Galera1-recover.pid'
150813 11:57:13 mysqld_safe WSREP: Recovered position
fcc685af-40db-11e5-8702-3ff327ce715d:2101
150813 11:57:15 mysqld_safe mysqld from pid file
/var/run/mysqld/mysqld.pid ended
root@Galera1:/mnt# cat grastate.dat
# GALERA saved state
version: 2.1
uuid: fcc685af-40db-11e5-8702-3ff327ce715d
seqno: 2101
cert_index:
root@Galera1:/mnt# service mysql restart
[FAIL] MySQL server PID file could not be found! ... failed!
Starting MySQL
[ ok.
root@Galera1:/mnt# cat grastate.dat
# GALERA saved state
version: 2.1
uuid: fcc685af-40db-11e5-8702-3ff327ce715d
seqno: -1
cert_index:
root@Galera1:/mnt
Thank again.
Regards
Brent
On 13/08/2015 13:55, Philip Stoev wrote: