-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Change streams
-
None
-
Query Execution
-
Fully Compatible
-
QE 2026-02-16
-
None
-
None
-
None
-
None
-
None
-
None
-
None
SERVER-114237 introduced a new sampling mechanism for the change streams pre-images collection that is (currently) based only on timestamp value.
The sampling mechanism as it is right now does not take the applyOpsIndex part into account when determining the steps for the sampling.
Thus it produces suboptimal results if there are ranges in which many documents have the same timestamp value, but different applyOpsIndex values.
The sampling algorithm should be improved to take the applyOpsIndex values into account, too.
- is caused by
-
SERVER-114237 Implement Timestamp based pre-image sampling for truncation
-
- Closed
-