John Spray
22c26d610b
pageserver: remove un-needed "uninit mark" ( #5717 )
...
Switched the order; doing https://github.com/neondatabase/neon/pull/6139
first then can remove uninit marker after.
## Problem
Previously, existence of a timeline directory was treated as evidence of
the timeline's logical existence. That is no longer the case since we
treat remote storage as the source of truth on each startup: we can
therefore do without this mark file.
The mark file had also been used as a pseudo-lock to guard against
concurrent creations of the same TimelineId -- now that persistence is
no longer required, this is a bit unwieldy.
In #6139 the `Tenant::timelines_creating` was added to protect against
concurrent creations on the same TimelineId, making the uninit mark file
entirely redundant.
## Summary of changes
- Code that writes & reads mark file is removed
- Some nearby `pub` definitions are amended to `pub(crate)`
- `test_duplicate_creation` is added to demonstrate that mutual
exclusion of creations still works.
2024-03-15 17:23:05 +02:00
..
2023-09-12 15:11:32 +02:00
2024-02-11 01:34:31 +02:00
2024-03-12 11:36:27 +00:00
2024-02-16 15:53:09 +00:00
2024-02-11 01:34:31 +02:00
2024-02-01 20:50:04 +00:00
2023-04-13 14:34:29 +03:00
2023-11-20 15:41:37 +01:00
2024-02-11 01:34:31 +02:00
2024-03-15 17:23:05 +02:00
2024-03-15 17:23:05 +02:00
2023-10-27 10:47:11 +01:00
2024-03-12 11:36:27 +00:00
2024-02-11 01:34:31 +02:00
2023-09-08 16:19:57 +01:00
2024-03-12 14:47:12 +00:00
2024-02-11 01:34:31 +02:00
2024-01-05 15:35:07 +00:00
2024-02-11 01:34:31 +02:00
2024-02-11 01:34:31 +02:00
2024-02-11 01:34:31 +02:00
2024-03-01 10:45:39 +01:00
2023-11-27 18:57:58 +00:00
2024-03-01 10:45:39 +01:00
2024-03-01 14:33:08 +00:00
2023-04-13 14:34:29 +03:00
2024-02-11 01:34:31 +02:00
2024-02-11 01:34:31 +02:00
2024-02-23 13:56:41 +00:00
2024-03-15 17:23:05 +02:00
2023-09-08 16:19:57 +01:00
2024-02-27 21:18:46 +02:00
2024-03-11 23:29:32 +04:00
2023-09-15 11:17:18 +01:00
2024-03-12 11:36:27 +00:00
2024-02-11 01:34:31 +02:00
2024-03-01 13:29:08 +01:00
2023-11-23 08:59:19 +02:00
2024-03-01 10:45:39 +01:00
2024-02-23 01:12:49 +04:00
2024-02-11 01:34:31 +02:00
2024-03-08 22:24:30 +00:00
2024-02-11 01:34:31 +02:00
2024-03-12 11:36:27 +00:00
2024-03-08 20:42:35 +00:00
2024-01-26 18:23:53 +00:00
2024-03-06 15:52:24 +00:00
2024-01-29 07:39:16 +02:00
2023-04-13 14:34:29 +03:00
2024-02-11 01:34:31 +02:00
2024-03-11 23:29:32 +04:00
2024-03-12 11:36:27 +00:00
2023-04-13 14:34:29 +03:00
2024-03-14 15:21:36 +00:00
2024-03-05 13:44:00 +00:00
2023-12-12 18:00:37 +01:00
2024-01-23 07:55:05 +02:00
2024-01-26 14:40:47 +00:00
2023-11-07 16:57:26 +00:00
2024-03-12 11:36:27 +00:00
2024-03-01 14:43:33 +00:00
2024-02-11 01:34:31 +02:00
2024-01-26 14:40:47 +00:00
2023-12-05 18:49:24 +02:00
2024-02-11 01:34:31 +02:00
2024-02-21 18:24:59 +01:00
2023-09-16 18:05:35 +03:00
2023-11-15 09:15:59 +00:00
2024-03-15 10:21:48 +01:00
2024-03-14 08:20:56 +00:00
2023-09-08 16:19:57 +01:00
2024-02-11 01:34:31 +02:00
2024-02-11 01:34:31 +02:00
2024-02-11 01:34:31 +02:00
2024-03-12 11:36:27 +00:00
2024-02-23 13:56:41 +00:00
2024-03-12 11:36:27 +00:00
2023-07-18 12:56:40 +03:00
2024-03-14 15:21:36 +00:00
2024-03-15 13:18:12 +00:00
2023-08-03 17:20:24 +03:00
2024-02-11 01:34:31 +02:00
2024-03-01 16:49:37 +00:00
2024-03-09 13:09:08 +00:00
2024-03-01 10:45:39 +01:00
2024-03-01 10:45:39 +01:00
2023-09-29 09:15:43 +01:00
2023-06-15 17:30:12 +03:00
2024-03-01 10:45:39 +01:00
2024-02-16 14:53:36 +00:00
2024-03-01 10:45:39 +01:00
2024-03-09 13:09:08 +00:00
2024-03-12 11:36:27 +00:00
2023-07-18 12:56:40 +03:00
2024-02-11 01:34:31 +02:00
2023-04-13 14:34:29 +03:00
2024-02-21 12:36:57 +00:00
2024-01-30 18:05:22 +04:00
2024-03-11 23:29:32 +04:00
2023-06-19 15:59:38 +04:00
2024-02-19 17:27:02 +01:00
2023-09-15 11:17:18 +01:00