[DOCS-1140] Update addTagRange docs to reflect collection/db drop behavior Created: 19/Feb/13 Updated: 06/Mar/13 Resolved: 06/Mar/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | James Wahlin | Assignee: | Sam Kleinman (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: | 10 years, 50 weeks ago | ||||
| Description |
|
Tag ranges can be added on a collection via sh.addTagRange(). After adding, when the associated collection or db is dropped the tag range entry (in config.tags) is not removed (which is by design). |
| Comments |
| Comment by auto [ 06/Mar/13 ] |
|
Author: {u'date': u'2013-02-26T20:02:55Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |
| Comment by auto [ 06/Mar/13 ] |
|
Author: {u'date': u'2013-02-26T20:02:55Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |
| Comment by Scott Hernandez (Inactive) [ 26/Feb/13 ] |
|
okay, we do remove the shard docs, so its tags are removed, if you completely drain and remove the shard. Sorry for the confusion. We just need to doc the DB/Collection behavior. |
| Comment by Scott Hernandez (Inactive) [ 26/Feb/13 ] |
|
I think I lied. Let me check if we actually remove the shard doc, or just mark it removed. If we remove it then shard tags are removed with the shard. |
| Comment by Scott Hernandez (Inactive) [ 26/Feb/13 ] |
|
Neither the tags collection, nor the shards collection, are touched when you do normal cluster operations (dropDB/Collection nor remove shard). The only helpers/operations which affect them are the ones from the shell helpers and manual editing. |
| Comment by Sam Kleinman (Inactive) [ 26/Feb/13 ] |
|
If you add a new collection with the same name, the old tags apply? What about new shards with the same name as old shards? |
| Comment by Scott Hernandez (Inactive) [ 19/Feb/13 ] |
|
Should get in there that shard tags are not removed either, when a shard is removed. Probably someplace else, but related to the we don't cleanup on removal. |