[SERVER-59666] Renaming system.buckets collection should be disallowed Created: 30/Aug/21 Updated: 29/Oct/23 Resolved: 27/Sep/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.4, 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Arun Banala | Assignee: | Reo Kimura (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v5.0
|
||||||||||||||||
| Steps To Reproduce: | MongoDB Enterprise > db.createCollection("ts", {timeseries: {timeField: 't'}}) { "ok" : 1 }MongoDB Enterprise > db.adminCommand( {renameCollection: "test.system.buckets.ts", to: "test.otherColl", dropTarget: false}) { "ok" : 1 }MongoDB Enterprise > db.getCollectionInfos() |
||||||||||||||||
| Sprint: | Execution Team 2021-09-20, Execution Team 2021-10-04 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Renaming system.buckets seems to corrupt the collection metadata, causing a server crash when listCollections command is issue. |
| Comments |
| Comment by Githook User [ 15/Oct/21 ] |
|
Author: {'name': 'Reo Kimura', 'email': 'reo.kimura@mongodb.com', 'username': 'rkimura21'}Message: (cherry picked from commit e981f68b35c273faec7b82961460e96998d29bfc) |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 27/Sep/21 ] |
|
Author: {'name': 'Reo Kimura', 'email': 'reo.kimura@mongodb.com', 'username': 'rkimura21'}Message: |