[SERVER-76108] Remove unused 'bucketSize' index spec during upgrade Created: 14/Apr/23 Updated: 19/Oct/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Henrik Edin | Assignee: | Backlog - Catalog and Routing |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Catalog and Routing
|
| Sprint: | CAR team targeted by 8.0 |
| Participants: |
| Description |
|
This would allow us to stop allowing 'bucketSize' in the index spec. We should consider creating a system to simplify removal of unused index specs during upgrade. The server should allow to startup and removal of deprecated index spec fields but not allow new indexes to be created with them. |
| Comments |
| Comment by Louis Williams [ 14/Apr/23 ] |
|
Since index specs are replicated, we'll need to make sure we do this in a way that avoids cross-node inconsistencies. FCV upgrade is probably the right path in this case. |