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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.1, 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • v6.0
    • Sharding EMEA 2022-08-08

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: