-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
Sharding
-
(copied to CRM)
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
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.