-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Cluster Scalability
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
If the collection UUID changes because the collection have been dropped and recreated during the execution of the analyzeShardKey command, the command could return wrongly the following error message:
errorCode: 7826501,
message: "The number of documents returned by $collStats indicates that the collection is empty. This is likely caused by an unclean shutdown that resulted in an inaccurate fast count or by deletions that have occurred since the command started."
The analyzeShardKey is actually passing down the collectionUUID to the aggregation pipeline execution here, but this is being ignored.
Instead, we should set the collection UUID on the aggRequest object.
- related to
-
SERVER-111316 Fix analyzeShardKey test for viewless timeseries
-
- Closed
-