add methods for read/write schema cookie

This commit is contained in:
Nikita Sivukhin
2025-08-12 17:29:56 +04:00
parent b82d850f7a
commit 1d8ed9aa55
3 changed files with 52 additions and 1 deletions

View File

@@ -849,6 +849,7 @@ impl Wal for WalFile {
}
// Snapshot is stale, give up and let caller retry from scratch
tracing::debug!("unable to upgrade transaction from read to write: snapshot is stale, give up and let caller retry from scratch");
shared.write_lock.unlock();
Ok(LimboResult::Busy)
}