[SERVER-82730] The validate cmd can invariant on corrupted keystrings Created: 02/Nov/23 Updated: 29/Nov/23 Resolved: 17/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0, 7.2.0-rc2, 4.4.27, 7.0.5, 6.0.13, 5.0.24 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Yuhong Zhang | Assignee: | Yuhong Zhang |
| 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.2, v7.1, v7.0, v6.0, v5.0, v4.4
|
||||||||||||
| Steps To Reproduce: | First insert a document into an index
Find out the ident of the secondary index
Shutdown the server. Dump the index table using a command similar to
Open the file and modify the value of the keystring to 3c7800040002. Then load the data back to the table using a command similar to
Start the server again and run the validate cmd. |
||||||||||||
| Sprint: | Execution Team 2023-11-27 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
When we traverse through the indexes, the validate cmd can invariant and crash the server when encountering corrupted keystrings. |
| Comments |
| Comment by Githook User [ 29/Nov/23 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: (cherry picked from commit bf607bda808e7a9ab70ed5d5260161d548c035ce) GitOrigin-RevId: 37bce82aef4a781439f72a4684db88c3e165542a |
| Comment by Githook User [ 29/Nov/23 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: (cherry picked from commit bf607bda808e7a9ab70ed5d5260161d548c035ce) |
| Comment by Yuhong Zhang [ 29/Nov/23 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: (cherry picked from commit bf607bda808e7a9ab70ed5d5260161d548c035ce) |
| Comment by Githook User [ 28/Nov/23 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: (cherry picked from commit bf607bda808e7a9ab70ed5d5260161d548c035ce) |
| Comment by Githook User [ 28/Nov/23 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: (cherry picked from commit bf607bda808e7a9ab70ed5d5260161d548c035ce) |
| Comment by Githook User [ 16/Nov/23 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: |