diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-04-30 19:48:11 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-05-03 11:21:55 +0200 |
commit | f875c9f2a090f98ba9d9e881165b4cf71cd6a8a2 (patch) | |
tree | 6b773c01b2591f368898f293bdfd77d15653910e /mysql-test/r/ssl.result | |
parent | e6d918cacba8c5f3b002c4eb0244f44c3c941818 (diff) | |
download | mariadb-git-f875c9f2a090f98ba9d9e881165b4cf71cd6a8a2.tar.gz |
MDEV-5114 seconds_behind_master flips to 0 & spikes back, when running show slaves status
1. After a period of wait (where last_master_timestamp=0)
do NOT restore the last_master_timestamp to the timestamp
of the last executed event (which would mean we've just
executed it, and we're that much behind the master).
2. Update last_master_timestamp before executing the event,
not after.
Take the approach from the this commit (but with a different test
case that actually makes sense):
commit 0c75ab453fb8c5439576af8fe5add7a1b89f1569
Author: Luis Soares <luis.soares@sun.com>
Date: Thu Apr 15 17:39:31 2010 +0100
BUG#52166: Seconds_Behind_Master spikes after long idle period
Diffstat (limited to 'mysql-test/r/ssl.result')
0 files changed, 0 insertions, 0 deletions