[SERVER-73599] Investigate (for WT) implications of opening a checkpoint cursor returns an error in MongoDB Created: 03/Feb/23 Updated: 29/Oct/23 Resolved: 13/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Task | 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 | ||||||||||||||||||||||||
| Sprint: | Execution Team 2023-03-20 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Linked BF Score: | 105 | ||||||||||||||||||||||||
| Description |
|
An error will be returned when opening a checkpoint cursor if the timestamps of a file diverge after |
| Comments |
| Comment by Githook User [ 16/Mar/23 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: |
| Comment by Yuhong Zhang [ 15/Mar/23 ] |
|
etienne.petrel@mongodb.com pointed out that WT_NOTFOUND error returned from the open_cursor() call will be mapped to ENOENT. Will push another commit to remove the extra error code handling. |
| Comment by Githook User [ 10/Mar/23 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: |
| Comment by Etienne Petrel [ 07/Mar/23 ] |
|
yuhong.zhang@mongodb.com, we changed the purpose of The new ticket WT-10715 will implement the solution where WiredTiger should open previous checkpoints if needed. |
| Comment by Yuhong Zhang [ 02/Mar/23 ] |
|
|
| Comment by Yuhong Zhang [ 17/Feb/23 ] |
|
Yes, we can move on to unblock the checkpoint thread and return a message to the user about the table not being validated. |
| Comment by Etienne Petrel [ 17/Feb/23 ] |
|
Hi yuhong.zhang@mongodb.com, if the checkpoint cursor cannot be opened due to the reason described in BF-27521/ On your side, if my understanding is correct, the checkpoint thread is blocked when you are performing validation. This means you will need to skip validation and let the checkpoint thread do a checkpoint before being able to run validation. This is just theoretical for now but would that work? |