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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4, v4.2, v4.0
    • Sprint:
      Sharding 2021-04-05, Sharding EMEA 2021-05-03
    • Case:
    • Linked BF Score:
      154

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              antonio.fuschetto Antonio Fuschetto
              Reporter:
              eric.sommer Eric Sommer
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              37 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: