[SERVER-73437] dbstats_sharded_collection.js fails to consider range deletion Created: 30/Jan/23  Updated: 29/Oct/23  Resolved: 31/Jan/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

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

Issue Links:
Backports
Depends
Related
related to SERVER-77830 remove noPassthrough/dbstats_sharded_... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.2
Sprint: Execution Team 2023-02-06
Participants:
Linked BF Score: 5

 Description   

This test calls moveChunk without the waitForDelete: true option. Since the moveChunk command returns before the range deletion, which runs in the background on the primary replica set node, it's possible the dbStats command to return inconsistent results between the the mongos and mongod results.



 Comments   
Comment by Githook User [ 31/Jan/23 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-73437 sharded dbstats test waits for move chunk deletes
Branch: master
https://github.com/mongodb/mongo/commit/361d497eb368244dc22a87b9961ff8040161bba6

Comment by Githook User [ 30/Jan/23 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-73437 log dbStats results from mongos and shards
Branch: master
https://github.com/mongodb/mongo/commit/cdf13538e41de8c352f510a426065af0814d4fe2

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