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

Add 'dry run' mode for cleanupOrphaned

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.7
    • Component/s: Sharding
    • None
    • Sharding

      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

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

              Created:
              Updated:
              Resolved: