[SERVER-48576] Fix the election race in change_stream_stepdown.js Created: 03/Jun/20  Updated: 29/Oct/23  Resolved: 05/Jun/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.4.0-rc10, 4.2.9, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Suganthi Mani Assignee: Suganthi Mani
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-48979 Race between config propagation and e... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2
Sprint: Repl 2020-06-15
Participants:
Linked BF Score: 12

 Description   

This can be racy as the other node might have started election and won the race.



 Comments   
Comment by Githook User [ 15/Jun/20 ]

Author:

{'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com', 'username': 'smani87'}

Message: SERVER-48576 Fix the election race in change_stream_stepdown.js

(cherry picked from commit 93a75ad40b00da1d30e5d01c26afda1488c9edf2)
Branch: v4.2
https://github.com/mongodb/mongo/commit/b7deb8faaa7e446a0583e8cfd719a67a186a3107

Comment by Githook User [ 15/Jun/20 ]

Author:

{'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com', 'username': 'smani87'}

Message: SERVER-48576 Fix the election race in change_stream_stepdown.js

(cherry picked from commit 93a75ad40b00da1d30e5d01c26afda1488c9edf2)
Branch: v4.4
https://github.com/mongodb/mongo/commit/f49d921229da2c28dec04b70f2c780cd7e229b5b

Comment by Githook User [ 05/Jun/20 ]

Author:

{'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com', 'username': 'smani87'}

Message: SERVER-48576 Fix the election race in change_stream_stepdown.js
Branch: master
https://github.com/mongodb/mongo/commit/93a75ad40b00da1d30e5d01c26afda1488c9edf2

Generated at Thu Feb 08 05:17:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.