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

Add 'dry run' mode for cleanupOrphaned

    XMLWordPrintable

Details

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

    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

        Issue Links

          Activity

            People

              backlog-server-sharding 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: