[SERVER-29540] awaitNodesAgreeOnPrimary should log why it retries Created: 09/Jun/17  Updated: 30/Oct/23  Resolved: 26/Jun/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.2.16, 3.4.7, 3.5.10

Type: Improvement Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4, v3.2
Participants:
Linked BF Score: 0

 Description   

The assert.soonNoExcept has a few "return false" statements but no logs saying what's causing them to return false. This makes debugging harder than it needs to be.



 Comments   
Comment by Githook User [ 14/Jul/17 ]

Author:

{u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}

Message: SERVER-29540 awaitNodesAgreeOnPrimary logs why it retries

(cherry picked from commit fc752b3b94b5d821e5f1861c05c27c8a5dc550cd)
Branch: v3.4
https://github.com/mongodb/mongo/commit/a109a23f12a957e127814cd9bd82ce18f8437f9b

Comment by Githook User [ 14/Jul/17 ]

Author:

{u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}

Message: SERVER-29540 awaitNodesAgreeOnPrimary logs why it retries

(cherry picked from commit fc752b3b94b5d821e5f1861c05c27c8a5dc550cd)
Branch: v3.2
https://github.com/mongodb/mongo/commit/056bf45128114e44c5358c7a8776fb582363e094

Comment by Githook User [ 26/Jun/17 ]

Author:

{u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}

Message: SERVER-29540 awaitNodesAgreeOnPrimary logs why it retries
Branch: master
https://github.com/mongodb/mongo/commit/fc752b3b94b5d821e5f1861c05c27c8a5dc550cd

Generated at Thu Feb 08 04:21:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.