John Spray
69d18d6429
s3_scrubber: add pageserver-physical-gc ( #7925 )
...
## Problem
Currently, we leave `index_part.json` objects from old generations
behind each time a pageserver restarts or a tenant is migrated. This
doesn't break anything, but it's annoying when a tenant has been around
for a long time and starts to accumulate 10s-100s of these.
Partially implements: #7043
## Summary of changes
- Add a new `pageserver-physical-gc` command to `s3_scrubber`
The name is a bit of a mouthful, but I think it makes sense:
- GC is the accurate term for what we are doing here: removing data that
takes up storage but can never be accessed.
- "physical" is a necessary distinction from the "normal" GC that we do
online in the pageserver, which operates at a higher level in terms of
LSNs+layers, whereas this type of GC is purely about S3 objects.
- "pageserver" makes clear that this command deals exclusively with
pageserver data, not safekeeper.
2024-06-03 17:16:23 +01:00
..
2023-09-12 15:11:32 +02:00
2024-05-13 15:16:23 +03:00
2024-05-23 11:25:38 +03:00
2024-05-13 15:16:23 +03:00
2024-05-22 17:06:00 +00:00
2024-03-26 15:24:18 +01:00
2024-05-01 21:36:50 -07:00
2023-04-13 14:34:29 +03:00
2024-05-13 15:16:23 +03:00
2024-05-17 12:24:02 +02:00
2024-05-13 15:16:23 +03:00
2024-05-15 12:05:24 +00: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-06-03 09:37:11 -04:00
2024-05-14 10:36:48 -04:00
2024-05-16 12:04:16 +02:00
2024-02-11 01:34:31 +02:00
2024-05-06 06:45:27 +03: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-05-13 15:16:23 +03:00
2023-11-27 18:57:58 +00:00
2024-05-13 15:16:23 +03:00
2024-03-01 14:33:08 +00:00
2023-04-13 14:34:29 +03:00
2024-05-22 15:43:21 +03:00
2024-05-17 12:24:02 +02:00
2024-05-29 22:18:09 +03:00
2024-05-22 18:24:21 +03:00
2024-05-23 14:44:08 +03:00
2024-04-02 14:32:14 +01:00
2024-04-02 14:32:14 +01:00
2024-05-21 20:08:43 +03:00
2023-09-15 11:17:18 +01:00
2024-05-13 15:16:23 +03:00
2024-02-11 01:34:31 +02:00
2024-03-01 13:29:08 +01:00
2024-04-25 13:29:17 +01:00
2024-03-01 10:45:39 +01:00
2024-05-13 15:16:23 +03:00
2024-05-13 15:16:23 +03:00
2024-03-08 22:24:30 +00:00
2024-02-11 01:34:31 +02:00
2024-05-13 15:16:23 +03:00
2024-03-28 17:22:35 +00:00
2024-01-26 18:23:53 +00:00
2024-03-06 15:52:24 +00:00
2024-05-22 15:43:21 +03:00
2023-04-13 14:34:29 +03:00
2024-05-17 12:24:02 +02:00
2024-05-31 09:18:58 +01:00
2024-05-13 15:16:23 +03:00
2024-05-17 12:24:02 +02:00
2023-04-13 14:34:29 +03:00
2024-05-17 13:24:03 +01:00
2024-05-13 15:16:23 +03:00
2024-05-21 20:08:43 +03:00
2024-05-13 15:16:23 +03:00
2024-01-23 07:55:05 +02:00
2024-05-06 14:07:15 +01:00
2023-11-07 16:57:26 +00:00
2024-06-03 17:16:23 +01:00
2024-02-11 01:34:31 +02:00
2024-05-23 23:26:42 +02:00
2024-05-21 09:18:11 -05:00
2024-05-06 07:18:38 +03:00
2023-12-05 18:49:24 +02:00
2024-05-17 12:24:02 +02:00
2024-05-07 15:18:17 +00:00
2024-02-21 18:24:59 +01:00
2023-09-16 18:05:35 +03:00
2024-05-16 13:05:50 +02:00
2024-04-03 11:23:26 +01:00
2024-05-13 15:16:23 +03:00
2024-04-25 20:45:37 +03:00
2024-05-13 15:16:23 +03:00
2024-05-17 12:24:02 +02:00
2024-05-13 15:16:23 +03:00
2024-03-23 01:01:51 +00:00
2024-05-13 15:16:23 +03:00
2024-06-03 17:16:23 +01:00
2023-07-18 12:56:40 +03:00
2024-05-24 08:33:19 +00:00
2023-08-03 17:20:24 +03:00
2024-05-13 13:18:14 +01:00
2024-02-11 01:34:31 +02:00
2024-05-17 12:24:02 +02:00
2024-05-13 15:16:23 +03:00
2024-05-31 22:20:06 +01:00
2024-05-13 15:16:23 +03:00
2024-05-17 12:24:02 +02:00
2024-05-13 15:16:23 +03:00
2024-05-13 15:16:23 +03:00
2024-05-13 15:16:23 +03:00
2024-03-01 10:45:39 +01:00
2024-05-13 15:16:23 +03:00
2024-05-22 13:55:34 +00:00
2024-05-21 20:08:43 +03:00
2023-07-18 12:56:40 +03:00
2024-02-11 01:34:31 +02:00
2024-05-21 09:18:11 -05:00
2024-05-08 20:58:35 +03:00
2024-05-28 11:08:29 +03:00
2024-05-31 12:58:59 +03:00
2024-05-17 12:24:02 +02:00
2024-05-13 15:16:23 +03:00
2024-05-13 15:16:23 +03:00