[DOCS-11376] Incorrect command in the example used in "Merge Chunks in a Sharded Cluster" Created: 01/Mar/18 Updated: 30/Oct/23 Resolved: 12/Dec/18 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Miguel Angel Nieto | Assignee: | Kay Kim (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 5 years, 9 weeks ago | ||||||||
| Epic Link: | DOCSP-1769 | ||||||||
| Description |
|
There is an example in Merge Chunks documentation page to show how the command works. But it is wrong and a bit confusing. Based on the first sh.status output, the following command won't work:
Because the collection test.users doesn't have any chunk that starts with "user68982" or ends with "user95197". A user following the example will get this error:
Still, even ignoring the fact that the command won't work, the resulting sh.status() on the documentation makes no sense. There are merges done there that are not in the range specified anyway. This should be the correct example. Pre-merge chunks:
Merge Command: It would be important to mention in the documentation that this command needs to be run on admin database.
Post-merge chunks:
|
| Comments |
| Comment by Githook User [ 12/Dec/18 ] |
|
Author: {'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}Message: |
| Comment by Githook User [ 12/Dec/18 ] |
|
Author: {'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}Message: |
| Comment by Githook User [ 12/Dec/18 ] |
|
Author: {'name': 'Kay Kim', 'email': 'kay.kim@mongodb.com'}Message: Revert " This reverts commit 708e2e768368852aadb0c34ebfd803ca2c36328f. |
| Comment by Githook User [ 12/Dec/18 ] |
|
Author: {'name': 'Kay Kim', 'email': 'kay.kim@mongodb.com'}Message: |
| Comment by Githook User [ 12/Dec/18 ] |
|
Author: {'name': 'Kay Kim', 'email': 'kay.kim@mongodb.com'}Message: |
| Comment by Githook User [ 12/Dec/18 ] |
|
Author: {'name': 'Kay Kim', 'email': 'kay.kim@mongodb.com'}Message: |
| Comment by Githook User [ 12/Dec/18 ] |
|
Author: {'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}Message: |
| Comment by Githook User [ 12/Dec/18 ] |
|
Author: {'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}Message: |
| Comment by Githook User [ 12/Dec/18 ] |
|
Author: {'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}Message: |