Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(pageserver): refactor split writers using batch layer writer (…
…#9493) part of #9114, #8836, #8362 The split layer writer code can be used in a more general way: the caller puts unfinished writers into the batch layer writer and let batch layer writer to ensure the atomicity of the layer produces. ## Summary of changes * Add batch layer writer, which atomically finishes the layers. `BatchLayerWriter::finish` is simply a copy-paste from previous split layer writers. * Refactor split writers to use the batch layer writer. * The current split writer tests cover all code path of batch layer writer. --------- Signed-off-by: Alex Chi Z <[email protected]>
- Loading branch information
fb0406e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5238 tests run: 5023 passed, 1 failed, 214 skipped (full report)
Failures on Postgres 17
test_readonly_node_gc
: debug-x86-64Test coverage report is not available
fb0406e at 2024-10-24T15:40:54.309Z :recycle: