-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Cluster Scalability
-
Fully Compatible
-
ALL
-
v8.0, v7.0
-
0
As seen in BF-35231, $collStats can return an incorrect numDocsTotal when analyzeShardKey is run on a shard key with a unique index, after an unclean shutdown.
In inaccurate_coll_stats.js, for the case of the shard key with a unique index, we must skip checking the key characteristics metrics .