[SERVER-60988] empty chunk mongo 5.0 Created: 20/Oct/21 Updated: 06/Dec/22 Resolved: 03/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Manu Manu | Assignee: | Backlog - Triage Team |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Server Triage
|
| Participants: |
| Description |
|
Dear mongo dev,
With mongodb 5.0, if i have a shard collection with a key {"serial":1}, and a datetime TTL. i can get a chunk with serial 1, another chunk with serial 2. but one day i can have the chunk with serial 1 empty. How i can remove the unnecessary chunk, how can i know this chunk is empty ? with mongodb 5.0 scripts like :
doesn't work anymore because in config.chunk doesn't have NS now.
Moreover i think mongodb should remove empty chunk automatically.
|
| Comments |
| Comment by Edwin Zhou [ 03/Nov/21 ] |
|
Hi emmanuel.bial@forcewan-lelab.fr, Thank you for your report. The SERVER project is reserved for reporting bugs related to the MongoDB server. As this appears to be a question, we'd like to encourage you to start by asking our community for help by posting on the MongoDB Developer Community Forums. If the discussion there leads you to suspect a bug in the MongoDB server, then we'd want to investigate it as a possible bug here in the SERVER project. Best, |
| Comment by Tim Fogarty [ 26/Oct/21 ] |
|
Hi emmanuel.bial@forcewan-lelab.fr, the Tools Jira project is for tracking bugs and features of the MongoDB Database Tools (that's mongoimport, mongorestore, etc). It sounds like you're asking about the server, so I will move this ticket to the Server project so the most relevant team can take a look. |