[SERVER-65704] BSONColumn validation reads uninitialized FCV for array compression feature flag check Created: 15/Apr/22 Updated: 29/Oct/23 Resolved: 15/Apr/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc1, 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| 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: |
v6.0
|
||||||||||||||||||||||||
| Sprint: | Execution Team 2022-05-02 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Linked BF Score: | 165 | ||||||||||||||||||||||||
| Description |
|
The test-only hook _validateBSONColumnRoundtrip() for BSONColumn validation assumes that the FCV is initialized when it checks if array compression is enabled. This is not always the case especially in startupRepair() when repair::repairCollection() is called before we restore/initialize the FCV document. |
| Comments |
| Comment by Githook User [ 18/Apr/22 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: (cherry picked from commit 941d7d65f2de075d53d2a2f80b780c98876fd731) |
| Comment by Githook User [ 15/Apr/22 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |