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

Change yield type used by range deleter from YIELD_MANUAL to YIELD_AUTO

    • Fully Compatible
    • v4.4, v4.2, v4.0
    • Sharding 2021-04-05, Sharding EMEA 2021-05-03
    • 154

      Currently, when deleting batches of documents (default 128) the range deleter only yields manually. This is different behavior than regular bulk deletes, which yield on time as well.

      The range deleter should also yield on time, making it functionally equivalent to regular bulk deletes. Failing to do so could result in locks being held and blocking other operations longer than anticipated in a case where range deletion was unexpectedly slow (due to an i/o bottleneck, for example).

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            eric.sommer@mongodb.com Eric Sommer
            Votes:
            0 Vote for this issue
            Watchers:
            38 Start watching this issue

              Created:
              Updated:
              Resolved: