Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-68354

Set `whenToClean` to `now` when marking range deletion task as processing

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.1, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.0
    • Sharding EMEA 2022-08-08

      A range deletion task is marked as processing right before the range-deleter starts deleting documents from it. When it gets labeled as such, it also indirectly means that the timeout before triggering the cleanup had been honored.

      Given that on step-up the whenToClean field is used to decide when to schedule a task, it makes no sense to delay the scheduling of a task marked as processing since it is ensured that the timeout had been already respected.

      Purpose of this ticket is to enhance this update in order to also change the whenToClean field to now.

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: