[SERVER-78569] Wait actively for chunks to be merged on merge_all_chunks_on_shard.js test Created: 30/Jun/23  Updated: 29/Oct/23  Resolved: 19/Jul/23

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

Type: Bug Priority: Major - P3
Reporter: Silvia Surroca Assignee: Silvia Surroca
Resolution: Fixed Votes: 0
Labels: shardingemea-qw
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-73126 Integrate auto-merging within the bal... Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Sprint: Sharding EMEA 2023-07-24
Participants:
Linked BF Score: 5
Story Points: 1

 Description   

Currently, the test merge_all_chunks_on_shard.js is assuming that the AutoMerger will complete its work in a couple of balancer rounds. In the case of slow variants, the test might fail if the AutoMerger did not have enough time to perform the requested merges.

The goal of this task is to wait actively until the number of chunks reaches the expected value with a high timeout to avoid false positives on slow variants.



 Comments   
Comment by Githook User [ 19/Jul/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-78569 Wait actively for chunks to be merged on merge_all_chunks_on_shard.js test

(cherry picked from commit 2edf36e03304b6f5754de4333c7a24e62cddcfd7)
Branch: v7.0
https://github.com/mongodb/mongo/commit/7a12bf702ff3264d7a458c3794ec6ba343f83db6

Comment by Githook User [ 19/Jul/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-78569 Wait actively for chunks to be merged on merge_all_chunks_on_shard.js test
Branch: master
https://github.com/mongodb/mongo/commit/2edf36e03304b6f5754de4333c7a24e62cddcfd7

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