Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Knizhnik committed Jan 31, 2024
1 parent fb7cafe commit 5787dd4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pageserver/src/walingest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1356,10 +1356,8 @@ impl WalIngest {
offset = offset.wrapping_add(n_this_page as u32);
}
if xlrec.mid.wrapping_sub(self.checkpoint.nextMulti) as i32 >= 0 {
let next_mid = std::cmp::max(
xlrec.mid.wrapping_add(1),
pg_constants::FIRST_MULTIXACT_ID,
);
let next_mid =
std::cmp::max(xlrec.mid.wrapping_add(1), pg_constants::FIRST_MULTIXACT_ID);
self.checkpoint.nextMulti = next_mid;
self.checkpoint_modified = true;
}
Expand Down

0 comments on commit 5787dd4

Please sign in to comment.