neondatabase / neon

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.
https://neon.tech
Apache License 2.0
15.15k stars 442 forks source link

fix(pageserver): make delta split layer writer finish atomic #9048

Closed skyzh closed 3 weeks ago

skyzh commented 2 months ago

Problem

similar to https://github.com/neondatabase/neon/pull/8841, we make the delta layer writer atomic when finishing the layers.

Summary of changes

Checklist before requesting a review

Checklist before merging

github-actions[bot] commented 2 months ago

5281 tests run: 5067 passed, 0 failed, 214 skipped (full report)


Flaky tests (2) #### Postgres 17 - `test_readonly_node_gc`: [debug-x86-64](https://neon-github-public-dev.s3.amazonaws.com/reports/pr-9048/11444733437/index.html#suites/3ccffb1d100105b98aed3dc19b717917/8fc21313bad410e2/retries) - `test_timeline_offloading[False]`: [release-arm64](https://neon-github-public-dev.s3.amazonaws.com/reports/pr-9048/11444733437/index.html#suites/d1acc79950edeb0563fc86236c620898/73028fa6f54a6345/retries)

Code coverage* (full report)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
b4ae4c4857f9ef3e144e982a35ee23bc84c71983 at 2024-10-22T22:17:10.210Z :recycle: