[SERVER-63505] Ensure arbiter recognizes primary node in rollback_views.js Created: 09/Feb/22  Updated: 29/Oct/23  Resolved: 16/Feb/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.13, 5.0.7, 5.3.0-rc2

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

Issue Links:
Backports
Depends
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.3, v5.2, v5.1, v5.0, v4.4
Sprint: Repl 2022-02-21
Participants:
Linked BF Score: 65

 Description   

This is a test-only fix that prevents unwanted elections in rollback_views.js



 Comments   
Comment by Githook User [ 23/Feb/22 ]

Author:

{'name': 'ali-mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-63505 Replace node connection with node index in rollback_views.js
Branch: v4.4
https://github.com/mongodb/mongo/commit/ac73e3cd3465814b4bccd086792a377dce55a161

Comment by Githook User [ 22/Feb/22 ]

Author:

{'name': 'ali-mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-63505 Wait until primary is writable primary in rollback_views.js

(cherry picked from commit 0e49ab5c9c0ca7ec977154cda0ffc1d5611751b3)
Branch: v5.3
https://github.com/mongodb/mongo/commit/f85c5ef236d2f7cf5da11555ae25519422f87cb1

Comment by Githook User [ 22/Feb/22 ]

Author:

{'name': 'ali-mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-63505 Wait until primary is writable primary in rollback_views.js

(cherry picked from commit 0e49ab5c9c0ca7ec977154cda0ffc1d5611751b3)
Branch: v5.0
https://github.com/mongodb/mongo/commit/60aeb9e5560f76d110fadb013e26b1d0e48ac960

Comment by Githook User [ 22/Feb/22 ]

Author:

{'name': 'ali-mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-63505 Ensure arbiter recognizes primary node in rollback_views.js

(cherry picked from commit babeb73f150a771624480aaae40e2f1fbaba66ae)
Branch: v5.0
https://github.com/mongodb/mongo/commit/8601fc9812cec009f61e797b387c3e1236a0d78b

Comment by Githook User [ 22/Feb/22 ]

Author:

{'name': 'ali-mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-63505 Wait until primary is writable primary in rollback_views.js

(cherry picked from commit 0e49ab5c9c0ca7ec977154cda0ffc1d5611751b3)
Branch: v4.4
https://github.com/mongodb/mongo/commit/00f2759403f1df53829c5145a014a8d45b9b6b7a

Comment by Githook User [ 22/Feb/22 ]

Author:

{'name': 'ali-mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-63505 Ensure arbiter recognizes primary node in rollback_views.js

(cherry picked from commit babeb73f150a771624480aaae40e2f1fbaba66ae)
Branch: v4.4
https://github.com/mongodb/mongo/commit/cdfc6490dd8b778e8c8b2dcc8267338bd71c1191

Comment by Ali Mir [ 22/Feb/22 ]

judah.schvimer This ticket had two commits, with one going into the 5.3 branch and the next one missing the cutoff. The second commit was to add back a line removed in the first. I believe we should re-open the 5.3 backport for this ticket, and I can update the fix version.

Comment by Githook User [ 16/Feb/22 ]

Author:

{'name': 'ali-mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-63505 Wait until primary is writable primary in rollback_views.js
Branch: master
https://github.com/mongodb/mongo/commit/0e49ab5c9c0ca7ec977154cda0ffc1d5611751b3

Comment by Githook User [ 14/Feb/22 ]

Author:

{'name': 'ali-mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-63505 Ensure arbiter recognizes primary node in rollback_views.js
Branch: master
https://github.com/mongodb/mongo/commit/babeb73f150a771624480aaae40e2f1fbaba66ae

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