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

Two Phase Drops: listCollections should exclude drop-pending collections

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.8
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Repl 2017-05-29, Repl 2017-06-19
    • 0

      Collections will no longer be dropped immediately with 2-phase drops (still in progress). Instead, the collections that the user requests to be dropped will be renamed to a non-user visible collection in the same database in the <db>.system.drop.* namespace (see SERVER-29251 for details on the drop-pending namespace). Eventually the hidden collection will be removed from storage when the rest of the replica set has progressed past the commit point where the collection drop can never be rolled back.

      Currently the listCollections command should be excluding drop-pending collections from its results. If the user wants to see these hidden collections, there should be an option to listCollections to include these drop-pending collections.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: