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

Handle potential multiple "processing" range deletions on step-up

    XMLWordPrintableJSON

Details

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

    Description

      When a range deletion task starts, the relative document is marked as processing so that on step-up we can schedule the same range deletion before all the others.

      Changing this if statament with a while would not impact the current semantics but would "protect" from potential bugs that may be introduced in the future, allowing resuming all "processing" deletions (or better, schedule them before all the others).

      Even if at moment we don't expect more than one range deletion to be in such state, it would be wise to account for it anyway.

      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: