Info
Chances are the heartbeats to the disconnected primary come back earlier than those to the voter, so that the new primary doesn't realize the voter has newer data and exits catchup mode prematurely.
Top User Comments
xgen-internal-githook commented on Fri, 16 Jun 2017 18:19:01 +0000:
Author:
{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}
Message: SERVER-28969 Wait until the voter has the latest optime in case 3 of catchup.js
(cherry picked from commit 6626128371d5f56cfae1079d0d67ec675f06bb84)
Branch: v3.4
https://github.com/mongodb/mongo/commit/1b5e99525f78b0e88eac7dd8663d44d543195803
xgen-internal-githook commented on Thu, 27 Apr 2017 18:15:26 +0000:
Author:
{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}
Message: SERVER-28969 Wait until the voter has the latest optime in case 3 of catchup.js
Branch: master
https://github.com/mongodb/mongo/commit/6626128371d5f56cfae1079d0d67ec675f06bb84