[SERVER-65962] Add chunk size checks to autosplit_setFCV_downgrade_from_60.js Created: 26/Apr/22 Updated: 02/May/22 Resolved: 02/May/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Allison Easton | Assignee: | Allison Easton |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Sprint: | Sharding EMEA 2022-05-02, Sharding EMEA 2022-05-16 |
| Participants: |
| Description |
|
Currently, the FSM workload autosplit_setFCV_downgrade_from_60.js is only testing that the downgrade code does not crash while splitting chunks to their correct size. We should add in checks that ensure that the correct chunks are actually split. Because the autosplitter is disabled in this test, we will need to disable writes once the downgrade code begins to avoid failures unrelated to the splitting code. |
| Comments |
| Comment by Allison Easton [ 02/May/22 ] |
|
We have decided not to add these checks to this test. The checks are complicated to add in because of the inserts - if inserts happen while the FCV downgrade is happening, we could still end up with large chunks since the autosplitter is disabled. And even if the autosplitter is enabled, because it is best effort, there is still no guarantee we won't have oversized chunks. |