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

Add 'dry run' mode for cleanupOrphaned

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 2.6.7
    • Sharding
    • None
    • Sharding

    Description

      The cleanupOrphaned command does not produce a list of documents that a shard shall delete.

      In order to see which documents will be removed, some administrators have requested a dry run mode the result of which can include any of:

      1. output documents to a (named) collection
      2. output documents to the log
      3. output documents to a .bson file
      4. output number of documents
      5. output list of _id keys

      for the documents that shall be deleted as part of the actual execution of cleanupOrphaned

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            rohit.nijhawan@10gen.com rohit.nijhawan@10gen.com
            Votes:
            14 Vote for this issue
            Watchers:
            23 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: