[SERVER-42953] ttl_repl_secondary_disabled.js should prevent elections Created: 21/Aug/19  Updated: 29/Oct/23  Resolved: 22/Aug/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.6.15, 4.0.13, 4.2.1, 4.3.1

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

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2, v4.0, v3.6
Sprint: Execution Team 2019-08-26
Participants:
Linked BF Score: 19

 Description   

The ttl_repl_secondary_disabled.js test verifies that TTL does not delete documents on secondaries. Since it is testing secondary-specific behavior, the test should ensure no elections occur, by setting node priorities accordingly.



 Comments   
Comment by Githook User [ 28/Aug/19 ]

Author:

{'name': 'Maria van Keulen', 'username': 'mvankeulen94', 'email': 'maria.vankeulen@mongodb.com'}

Message: SERVER-42953 Prevent elections during ttl_repl_secondary_disabled.js

(cherry picked from commit 5675123d796607f692197581ec6b46587692837a)
Branch: v3.6
https://github.com/mongodb/mongo/commit/bb3db9e0d9faec810b3a17e67ab28d683da65fdb

Comment by Githook User [ 28/Aug/19 ]

Author:

{'name': 'Maria van Keulen', 'username': 'mvankeulen94', 'email': 'maria.vankeulen@mongodb.com'}

Message: SERVER-42953 Prevent elections during ttl_repl_secondary_disabled.js

(cherry picked from commit 5675123d796607f692197581ec6b46587692837a)
Branch: v4.0
https://github.com/mongodb/mongo/commit/7393a7189f323f820b899f5521be18a7edfdfd11

Comment by Githook User [ 28/Aug/19 ]

Author:

{'email': 'maria.vankeulen@mongodb.com', 'name': 'Maria van Keulen', 'username': 'mvankeulen94'}

Message: SERVER-42953 Prevent elections during ttl_repl_secondary_disabled.js

(cherry picked from commit 5675123d796607f692197581ec6b46587692837a)
Branch: v4.2
https://github.com/mongodb/mongo/commit/ea1e1dc9f7ec963fa193aebd698396880fe8f2a7

Comment by Githook User [ 22/Aug/19 ]

Author:

{'name': 'Maria van Keulen', 'email': 'maria.vankeulen@mongodb.com', 'username': 'mvankeulen94'}

Message: SERVER-42953 Prevent elections during ttl_repl_secondary_disabled.js
Branch: master
https://github.com/mongodb/mongo/commit/5675123d796607f692197581ec6b46587692837a

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