Skip to content

Commit d59a340

Browse files
committed
add one more comment
1 parent 944b905 commit d59a340

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libsql-server/src/connection/connection_manager.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ impl ManagedConnectionWalWrapper {
204204
}
205205
_ => {}
206206
}
207+
// note, that it's important that we return SQLITE_BUSY error for CHECKPOINT starvation problem before that condition
208+
// because after we will add something to the write_queue - we can't easily abort execution of acquire() method
207209
if current.as_mut().map_or(true, |slot| slot.id != self.id) && !enqueued {
208210
self.manager
209211
.write_queue

0 commit comments

Comments
 (0)