[SERVER-6063] Support rename collection for sharded collections Created: 11/Jun/12 Updated: 06/Dec/22 Resolved: 15/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | [DO NOT USE] Backlog - Sharding EMEA |
| Resolution: | Done | Votes: | 22 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Sharding EMEA
|
||||||||||||
| Participants: | |||||||||||||
| Case: | (copied to CRM) | ||||||||||||
| Comments |
| Comment by Kaloian Manassiev [ 15/Nov/21 ] |
|
Done in 5.0 as a result of the "Sharded collections support all DDL operations" project. |
| Comment by Andrew Doumaux [ 25/Jun/15 ] |
|
My use case for this feature: I'm using Mongo as an analytic cache. Every period of time I get a fresh copy of an analytic and load that analytic into a "staging" collection and when the load is completed I rename the collection to the "active" collection name. I was hoping to shard those collections so I could use the horizontal scaling of Mongo to cache larger analytic output. This pattern is very similar to how mongo's $out aggregation operation works if an existing collection exists. Thanks |
| Comment by Ryan Ovas [ 17/Jan/15 ] |
|
In the same boat as Himanshu Jain. Any progress on this? |
| Comment by Himanshu Jain [ 12/Nov/14 ] |
|
Hi, Any updates on this jira ? Just can't think of dropping and re-inserting documents. Pls suggest. Thank you. |