Addition of some extra log messages and seconds behind master calcuation

This commit is contained in:
Mark Riddoch
2015-02-09 20:50:23 +00:00
parent e3c8979ee1
commit b58e09cdb7
4 changed files with 26 additions and 1 deletions

View File

@ -1326,6 +1326,7 @@ uint8_t *ptr;
*ptr++ = slave->seqno++;
*ptr++ = 0; // OK
head = gwbuf_append(head, record);
slave->lastEventTimestamp = hdr.timestamp;
if (hdr.event_type == ROTATE_EVENT)
{
unsigned long beat1 = hkheartbeat;