[DOCS-4292] The definition for sh.splitAt() is not correct Created: 06/Nov/14 Updated: 13/Nov/23 Resolved: 09/Feb/15 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | v1.3.18, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Linda Qin | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Participants: | |||||
| Days since reply: | 9 years, 1 week, 2 days ago | ||||
| Description |
|
http://docs.mongodb.org/manual/reference/method/sh.splitAt/ Currently the definition for sh.splitAt() is:
This command doesn't split the chunk at the "middle" of the collection. It is used to split the chunk in a specific point specified by the query. Also, the description for the "query" parameter is:
This is not true. The query is to identify the split point in a specific chunk range, and it must use the shard key as the query. |
| Comments |
| Comment by Githook User [ 09/Feb/15 ] | |||||
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: | |||||
| Comment by Githook User [ 09/Feb/15 ] | |||||
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: | |||||
| Comment by Githook User [ 09/Feb/15 ] | |||||
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: | |||||
| Comment by Linda Qin [ 06/Nov/14 ] | |||||
|
Also, there is the same issue for the parameter query in sh.splitFind():
It must specify the shard key as the query, otherwise, it will return an error (Similar misleading message as
|