Skip to content

Commit

Permalink
address #4488 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
problame committed Jun 15, 2023
1 parent 3e491bd commit cc419d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pageserver/src/tenant/timeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3025,7 +3025,8 @@ impl Timeline {
// 1. write them all to temporary file names
// 2. fsync them
// 3. rename to the final name
// 4. fsync the parent directory
// 4. fsync the parent directory.
// Note that (1),(2),(3) today happen inside write_to_disk().
par_fsync::par_fsync(&[new_delta_path.clone()]).context("fsync of delta layer")?;
par_fsync::par_fsync(&[self_clone
.conf
Expand Down

0 comments on commit cc419d1

Please sign in to comment.