-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
Execution Team 2021-06-28
-
15
We use Collection::numRecords here to check if there are any more documents. Due to the unreliability of Collection::numRecords (see BF-20792 for more details), we should replace the check with Collection::isEmpty.
- is related to
-
SERVER-45718 Index builder can skip index building for a non-empty collections due to incorrect fast count value.
-
- Closed
-