[SERVER-70866] Accept indexStat counts greater or equal to 1 Created: 26/Oct/22  Updated: 29/Oct/23  Resolved: 28/Oct/22

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

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

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QE 2022-10-31
Participants:
Linked BF Score: 170

 Description   

Reported in BF-26712

This test contains an index access count verification, which can produce incorrect results when run on a sharded collection. In particular, a single aggregation can hit all matching shards, and thus the access count becomes the number of shards, rather than the expected value of 1.



 Comments   
Comment by Githook User [ 28/Oct/22 ]

Author:

{'name': 'Colin Stolley', 'email': 'ccstolley@github.com', 'username': 'ccstolley'}

Message: SERVER-70866: Accept indexStat counts greater or equal to 1
Branch: master
https://github.com/mongodb/mongo/commit/0dc38aed4c9017b1b776b65eb6748304fec0eddc

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