This condition in collection validation determines whether we'll check a time-series bucket's count field or not. It has a small typo in that it doesn't compare timeseries::kTimeseriesControlCompressedUnsortedVersion against version which means it will accidentally always evaluate to true, but it turns out that this condition is extraneous anyway so it doesn't have any effect on the outcome. Since it's extraneous, we should just remove it.
- related to
-
SERVER-86511 Introduce v3 Buckets
- Closed