[SERVER-76077] Existing 'bucketSize' field in index spec from removed haystack index prevents server startup Created: 13/Apr/23 Updated: 29/Oct/23 Resolved: 14/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0, 7.1.0-rc0, 6.0.6 |
| Type: | Bug | Priority: | Blocker - P1 |
| Reporter: | Henrik Edin | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Storage Execution
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v7.0
|
||||||||||||||||
| Sprint: | Execution Team 2023-04-17 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
--repair is also unable to handle this case. We need to provide an upgrade path for users with invalid index spec fields. |
| Comments |
| Comment by Githook User [ 14/Apr/23 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: (cherry picked from commit 5488f63526dc5acd9ef4b061074dc46ecf7d45de) |
| Comment by Githook User [ 14/Apr/23 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: (cherry picked from commit 5488f63526dc5acd9ef4b061074dc46ecf7d45de) |
| Comment by Githook User [ 14/Apr/23 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: |
| Comment by Louis Williams [ 14/Apr/23 ] |
|
We drop all haystack indexes when upgrading from 4.4 to 5.0, so this issue only affects non-haystack indexes that incorrectly specify a 'bucketSize' field, which would have been ignored in previous versions. |