[SERVER-75636] Only execute `mergeAllChunksWithMaxNumberOfChunksTest` test case in non-stepdown suites Created: 04/Apr/23  Updated: 29/Oct/23  Resolved: 13/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, 7.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Sprint: Sharding EMEA 2023-04-17
Participants:
Linked BF Score: 38

 Description   

The mergeAllChunksWithMaxNumberOfChunksTest test is issuing merge all chunks requests with a max number of chunks and then checks that there no over-merge happened.

However, when the CSRS steps down the following can happen:

  • The original request succeeds, merging 2 chunks
  • The shard receives a "not ok" reply due to CSRS stepdown
  • The command is retried because of the idempotent retry policy
  • An additional merge happens


 Comments   
Comment by Githook User [ 20/Apr/23 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-75636 Only execute `mergeAllChunksWithMaxNumberOfChunksTest` test case in non-stepdown suites

(cherry picked from commit 1e4a5d6a985748290b83a470cfa157af1db0ba8d)
Branch: v7.0
https://github.com/mongodb/mongo/commit/2cde737d40bafa1a38c5675621b952284b538b09

Comment by Githook User [ 13/Apr/23 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-75636 Only execute `mergeAllChunksWithMaxNumberOfChunksTest` test case in non-stepdown suites
Branch: master
https://github.com/mongodb/mongo/commit/1e4a5d6a985748290b83a470cfa157af1db0ba8d

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