[SERVER-38842] Relax constraint in shard_existing_coll_chunk_count.js Created: 04/Jan/19  Updated: 29/Oct/23  Resolved: 14/Jan/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.1.8

Type: Bug Priority: Major - P3
Reporter: Matthew Saltz (Inactive) Assignee: Matthew Saltz (Inactive)
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-37699 Lower logging verbosity for shard_exi... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 0

 Description   

If a certain document is slow to commit, the chunk splitter won't see that document in the chunk even if that document was the one that caused it to split, and won't split the chunk, so that can lead to the count being slightly off. I reproduced it by sleeping after documents with ids 15, 17, 18, and 19, but not 16. Can fix by changing 12 here to 10.



 Comments   
Comment by Githook User [ 14/Jan/19 ]

Author:

{'username': 'saltzm', 'email': 'matthew.saltz@mongodb.com', 'name': 'Matthew Saltz'}

Message: SERVER-38842 Relax constraint in shard_existing_coll_chunk_count.js
Branch: master
https://github.com/mongodb/mongo/commit/c21a9942a0141e0dbd626ff7861271faaa2a7fe4

Generated at Thu Feb 08 04:50:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.