Refactor `deleteRangeInBatches` to don't require an executor

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-07-11, Sharding EMEA 2022-07-25
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The deleteRangeInBatches function is currently accepting as argument an executor and returning an ExecutorFuture. However, with the introduction of the range deleter service, the deletion will have to be called from within an executor.

      Purpose of this ticket is to pull out the current code in a function deleteRangeInBatches, make it accept an OperationContext* and make it public. This way it can both be called by the legacy range deleter (via a new function deleteRangeInBatchesWithExecutor) and by the new range deleter service.

            Assignee:
            Pierlauro Sciarelli
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: