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

More verbose sh.shardCollection command

    XMLWordPrintable

Details

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

    Description

      Hello,

      There are cases when sh.shardCollection takes a very long time. During that time the MongoDB Shell is hung.

      This is a bad user experience, since there is no information on what is happening and no estimates. Also, closing the window by mistake could probably cancel the operation after a very long wait.

      To provide a better user experience the sh.shardCollection should:

      • Provide verbose output of the different steps and remaining time.

      or

      • If that is not possible, return the shell prompt, inform the user that the operation is in progress and let the process run. Then, make the progress of the operation and its result available in sh.status output.

      Regards.

      Attachments

        Activity

          People

            backlog-server-sharding Backlog - Sharding Team
            miguel.nieto@mongodb.com Miguel Angel Nieto
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: