Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2251,8 +2251,10 @@ endforeach()
NAME lavik_compact_collection_write_e2e
COMMAND lavik_compact_collection_write_e2e_test $<TARGET_FILE:lavik>
)
# The full write/recovery matrix can exceed ten minutes on ARM64 Debug
# runners; allow more time for the complete suite.
set_tests_properties(lavik_compact_collection_write_e2e PROPERTIES
TIMEOUT 600 RUN_SERIAL TRUE
TIMEOUT 900 RUN_SERIAL TRUE
)

add_executable(lavik_adaptive_flush_e2e_test
Expand Down
9 changes: 4 additions & 5 deletions src/storage/engine/read.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,10 @@ class BatchReadAwaiter {
--remaining_;
}
}
// A full io_uring SQ may submit and reap earlier operations while this
// loop is still preparing the batch. Unvisited operations are already in
// remaining_, so those completions cannot resume us early. The operation
// passed to each SubmitRead is itself guaranteed to complete
// asynchronously.
// Count the whole batch before submission and retire immediate rejections
// locally. Accepted operations remain outstanding while queued for backend
// capacity; each deferred completion retires one count, and only the last
// wakes the caller.
return remaining_ != 0;
}

Expand Down