Files
neon/pageserver
Christian Schwarz 1af2f3caf1 Timeline::repartition: enforce no concurrent callers & lsn to not move backwards
This PR enforces aspects of `Timeline::repartition` that were already
true at runtime:

- it's not called concurrently, so, bail out if it is anyway (see
  comment why it's not called concurrently)
- the `lsn` should never be moving backwards over the lifetime of a
  Timeline object, because last_record_lsn() can only move forwards
  over the lifetime of a Timeline object

part of #6861
2024-02-21 15:52:28 +00:00
..
2023-11-28 12:50:53 -05:00