File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
ydb/core/tx/columnshard/engines/reader/simple_reader/iterator Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -48,16 +48,16 @@ ui32 TScanWithLimitCollection::GetInFlightIntervalsCount(const TCompareKeyForSca
48
48
AFL_VERIFY (from < to);
49
49
ui32 inFlightCountLocal = 0 ;
50
50
{
51
- auto itUpperFinishedFrom = FinishedSources.upper_bound (from);
52
- auto itUpperFinishedTo = FinishedSources.upper_bound (to);
53
- for (auto && it = itUpperFinishedFrom ; it != itUpperFinishedTo ; ++it) {
51
+ auto itFinishedFrom = FinishedSources.lower_bound (from);
52
+ auto itFinishedTo = FinishedSources.lower_bound (to);
53
+ for (auto && it = itFinishedFrom ; it != itFinishedTo ; ++it) {
54
54
++inFlightCountLocal;
55
55
}
56
56
}
57
57
{
58
- auto itUpperFetchingFrom = FetchingInFlightSources.upper_bound (from);
59
- auto itUpperFetchingTo = FetchingInFlightSources.upper_bound (to);
60
- for (auto && it = itUpperFetchingFrom ; it != itUpperFetchingTo ; ++it) {
58
+ auto itFetchingFrom = FetchingInFlightSources.lower_bound (from);
59
+ auto itFetchingTo = FetchingInFlightSources.lower_bound (to);
60
+ for (auto && it = itFetchingFrom ; it != itFetchingTo ; ++it) {
61
61
++inFlightCountLocal;
62
62
}
63
63
}
You can’t perform that action at this time.
0 commit comments