John Spray
4fc95d2d71
pageserver: apply shard filtering to blocks ingested during initdb ( #7319 )
...
## Problem
Ingest filtering wasn't being applied to timeline creations, so a
timeline created on a sharded tenant would use 20MB+ on each shard (each
shard got a full copy). This didn't break anything, but is inefficient
and leaves the system in a harder-to-validate state where shards
initially have some data that they will eventually drop during
compaction.
Closes: https://github.com/neondatabase/neon/issues/6649
## Summary of changes
- in `import_rel`, filter block-by-block with is_key_local
- During test_sharding_smoke, check that per-shard physical sizes are as
expected
- Also extend the test to check deletion works as expected (this was an
outstanding tech debt task)
2024-04-05 18:07:35 +01:00
..
2023-09-12 15:11:32 +02:00
2024-02-11 01:34:31 +02:00
2024-03-28 17:44:55 +00:00
2024-03-25 11:43:02 -04:00
2024-03-26 15:24:18 +01:00
2024-02-01 20:50:04 +00:00
2023-04-13 14:34:29 +03:00
2024-03-19 10:30:33 +00:00
2024-03-19 10:30:33 +00:00
2024-04-02 14:32:14 +01: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-04-03 15:20:51 +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-03-23 01:01:51 +00:00
2024-03-15 17:23:05 +02:00
2024-04-02 14:32:14 +01:00
2024-04-02 14:32:14 +01:00
2024-03-28 17:44:55 +00:00
2023-09-15 11:17:18 +01:00
2024-03-28 17:44:55 +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-03-28 15:24:36 +00: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-28 17:22: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-28 17:44:55 +00:00
2024-03-15 17:46:04 +00:00
2023-04-13 14:34:29 +03:00
2024-04-05 18:01:31 +01:00
2024-03-05 13:44:00 +00:00
2024-03-26 15:45:32 +00:00
2024-03-22 14:52:14 +00: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-04-03 11:23:44 +01: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-04-03 11:23:26 +01:00
2023-09-08 16:19:57 +01:00
2024-04-02 14:32:14 +01:00
2024-02-11 01:34:31 +02:00
2024-03-25 09:38:12 +00:00
2024-03-28 17:44:55 +00:00
2024-03-23 01:01:51 +00:00
2024-03-12 11:36:27 +00:00
2023-07-18 12:56:40 +03:00
2024-04-05 18:07:35 +01:00
2023-08-03 17:20:24 +03:00
2024-04-05 16:18:00 +01:00
2024-02-11 01:34:31 +02:00
2024-03-01 16:49:37 +00:00
2024-03-15 18:03:49 +00:00
2024-03-01 10:45:39 +01:00
2024-03-01 10:45:39 +01:00
2024-04-04 09:45:14 +00:00
2023-06-15 17:30:12 +03:00
2024-03-01 10:45:39 +01:00
2024-03-26 15:20:05 +00:00
2024-03-01 10:45:39 +01:00
2024-03-15 18:03:49 +00:00
2024-03-26 15:24:18 +01: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-04-03 15:20:51 +00:00
2024-04-02 14:32:14 +01: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