[SERVER-37002] dropping a collection with long index names via rename fails under MMAPv1 Created: 05/Sep/18 Updated: 29/Oct/23 Resolved: 10/Sep/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | 3.6.7, 4.0.2 |
| Fix Version/s: | 3.6.8, 4.0.3, 4.1.3 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.0, v3.6
|
||||||||
| Sprint: | Storage NYC 2018-09-10, Storage NYC 2018-09-24 | ||||||||
| Participants: | |||||||||
| Case: | (copied to CRM) | ||||||||
| Description |
|
In a replica set running with the storage engine MMAPv1, a collection rename with the dropTarget option set to true may fail when the destination namespace refers to a collection with long index names approaching the MMAP namespace limit of 127 characters. The renameCollection operation would return an error with the code 10080 and a message containing the target namespace (the collection being replaced):
|
| Comments |
| Comment by Githook User [ 10/Sep/18 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This is already done implicitly during a two phase collection drop. (cherry picked from commit 8f37bba5a81b975101ae0ad4a0f894cce6dba648) |
| Comment by Githook User [ 10/Sep/18 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This is already done implicitly during a two phase collection drop. (cherry picked from commit 8f37bba5a81b975101ae0ad4a0f894cce6dba648) |
| Comment by Githook User [ 10/Sep/18 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This is already done implicitly during a two phase collection drop. |