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

Delete RangePreserver

    • Fully Compatible
    • Query 2017-05-08

      The RangePreserver is an RAII class which opens a special ClientCursor on construction, and deletes it on destruction. The purpose of this ClientCursor is to allocate a special cursor id whose presence will prevent the deletion of chunk ranges which might still be needed by an active query.

      The planned work in SERVER-27760 will remove the use of cursor ids for determining which chunk ranges can be cleaned up. Therefore, once SERVER-27760 is resolved, uses of the RangePreserver can be removed and the class can be deleted.

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: