-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Checkpoints
-
Storage Engines
-
2
-
나비 (nabi) - 2024-04-16
checkpoint_prepare incorrectly releases a readlock in this error case:
/* A checkpoint should never proceed when timestamps are out of order. */ if (__wt_atomic_loadbool(&txn_global->has_oldest_timestamp) && txn_global->oldest_timestamp > txn_global->stable_timestamp) { __wt_readunlock(session, &txn_global->rwlock);
This should be a _wt_writeunlock not _wt_readunlock as that is the lock we are holding at the time.
- is caused by
-
WT-12246 Verify global timestamps are in order when we start a checkpoint
- Closed