-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
The query subsystem uses Collection::numRecords() to retrieve estimated collection document count for the count command, $collStats stage and a proposed $approxCount stage. If used within a transaction this API does not provide a point in time estimate and the values returned will continue to change as collection writes occur. This request is to provide a snapshot mechanism for this information that will be safe to use within transaction allowing us to consider allowing use of $approxCount (and maybe $collStats with count) in a transaction.
- is depended on by
-
SERVER-62966 Allow $approxCount within a transaction
-
- Closed
-
- related to
-
COMPASS-5273 Investigate changes in PM-2639: Introduce $approxCount stage
-
- Closed
-