mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Instead of transitioning to RECOVER state from CHECKPOINT when a recovery is required, perform the recovery while holding the CHECKPOINT lock.
FossilOrigin-Name: bb0b6021e721c2e4f1533ab18381604c6b7b31d5
This commit is contained in:
@ -113,9 +113,7 @@ The following are the allowed lock transitions:
|
||||
(11l) PENDING UNLOCK UNLOCK
|
||||
(11m) PENDING CHECKPOINT CHECKPOINT
|
||||
(11n) CHECKPOINT UNLOCK UNLOCK
|
||||
(11o) CHECKPOINT RECOVER RECOVER
|
||||
(11p) RECOVER READ READ
|
||||
(11q) RECOVER CHECKPOINT CHECKPOINT
|
||||
(11o) RECOVER READ READ
|
||||
|
||||
These 17 transitions are all that needs to be supported. The lock
|
||||
manager implementation can assert that fact. The other 25 possible
|
||||
|
Reference in New Issue
Block a user