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

Add 'dry run' mode for cleanupOrphaned

    XMLWordPrintable

    Details

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

      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

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

                Dates

                Created:
                Updated:
                Resolved: