-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
v5.2, v5.0, v4.4
-
-
Sharding EMEA 2022-02-07
The semantic of the rangeDeleterBatchDelayMS parameter changed over time and the original idea of using it to throttle range deletions is not honored in the majority of scenarios.
Objective of this ticket is to introduce a global delay applied to the range deletions at thread pool level, independently from collections/ranges.
Following, a summary of the current semantics.
Versions gte v4.4
The delay is applied to the deletion of batches belonging to a specific range.
Problem: if there are several (more than one) range deletion tasks scheduled for different collections or for the same collection on different ranges, deletions are actually not throttled.
Versions until v4.2
The batch delay is per collection and the rescheduling of a cleanup task is not bound to a specific range.
Problem: if there are several (more than one) range deletion tasks scheduled for different collections, deletions are actually not throttled.