[SERVER-65916] batched_multi_deletes_failover.js hangs on stepup failures Created: 25/Apr/22  Updated: 29/Oct/23  Resolved: 11/May/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc6, 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Yujin Kang Park Assignee: Haley Connelly
Resolution: Fixed Votes: 0
Labels: PM-2227-M3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-65889 Lower the number of documents in batc... Closed
Related
is related to SERVER-65889 Lower the number of documents in batc... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Sprint: Execution Team 2022-05-16
Participants:
Linked BF Score: 61

 Description   

The batched_multi_deletes_failover.js might get hung if all step ups fail. This test relies on the fact that a step down aborts the operation context, which in turn cancels a sleep done by the failpoint on which this test relies. If for some reason all step ups fail and thus there is no step down, the sleep within the failpoint is never cancelled and the test gets stuck due to the huge value for sleep (1 hour) until evergreen kills the task.

Let's also lower the number of documents in the collection so as to prevent the batchedDeleteStageSleepAfterNDocuments from failpoint from timing out on slower instances, like on debug builds.



 Comments   
Comment by Githook User [ 16/May/22 ]

Author:

{'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}

Message: SERVER-65916 Prevent batched_multi_deletes_failover.js from stalling on failpoint

(cherry picked from commit d7cf7fead440ccd82456c7ee5159bfe0444340d3)
Branch: v6.0
https://github.com/mongodb/mongo/commit/1099c288284c77ba3b1591b0322e38d884f6db57

Comment by Githook User [ 11/May/22 ]

Author:

{'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}

Message: SERVER-65916 Prevent batched_multi_deletes_failover.js from stalling on failpoint
Branch: master
https://github.com/mongodb/mongo/commit/d7cf7fead440ccd82456c7ee5159bfe0444340d3

Generated at Thu Feb 08 06:03:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.