Alex Chi Z.
f859354466
feat(pageserver): add db rel count as feature flag property ( #12632 )
...
## Problem
As part of the reldirv2 rollout: LKB-197.
We will use number of db/rels as a criteria whether to rollout reldirv2
directly on the write path (simplest and easiest way of rollout). If the
number of rel/db is small then it shouldn't take too long time on the
write path.
## Summary of changes
* Compute db/rel count during basebackup.
* Also compute it during logical size computation.
* Collect maximum number of db/rel across all timelines in the feature
flag propeties.
---------
Signed-off-by: Alex Chi Z <chi@neon.tech >
2025-07-22 17:55:07 +00:00
..
2025-07-10 08:06:33 +00:00
2025-03-30 18:58:33 +00:00
2025-07-10 10:07:21 +00:00
2025-03-30 18:58:33 +00:00
2024-10-08 14:32:26 -05:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-06-17 15:08:59 +00:00
2025-07-09 17:16:06 +00:00
2025-03-30 18:58:33 +00:00
2025-07-04 10:25:03 +00:00
2025-07-15 14:36:28 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2024-11-25 09:01:05 +00:00
2025-07-22 12:00:20 +00:00
2025-07-15 14:36:28 +00:00
2025-07-22 12:00:20 +00:00
2025-05-20 09:03:36 +00:00
2025-05-06 22:19:15 +00:00
2024-11-08 12:19:18 -06:00
2025-07-15 10:45:49 +00:00
2025-03-30 18:58:33 +00:00
2025-04-24 13:51:09 +00:00
2025-06-18 10:01:05 +00:00
2025-03-30 18:58:33 +00:00
2025-06-05 11:43:04 +00:00
2024-10-08 14:32:26 -05:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-05-29 13:01:10 +00:00
2025-07-10 08:06:33 +00:00
2025-03-30 18:58:33 +00:00
2025-05-06 22:02:12 +00:00
2025-07-10 08:06:33 +00:00
2025-03-30 18:58:33 +00:00
2024-10-18 15:07:36 +03:00
2025-07-22 17:55:07 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-04-04 18:04:39 +00:00
2024-10-08 14:32:26 -05:00
2025-05-06 07:24:27 +00:00
2025-07-22 11:04:03 +00:00
2025-06-05 11:27:14 +00:00
2025-05-30 12:14:36 +00:00
2025-06-05 18:53:14 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-02-03 12:44:47 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-05-28 07:00:52 +00:00
2025-03-31 19:49:32 +00:00
2025-07-10 18:37:54 +00:00
2025-04-08 03:52:50 +00:00
2025-07-22 12:00:20 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-02-03 12:44:47 +00:00
2025-04-09 13:16:15 +00:00
2024-10-08 14:32:26 -05:00
2025-03-30 18:58:33 +00:00
2025-04-23 14:03:19 +00:00
2025-06-17 17:46:35 +00:00
2025-03-30 18:58:33 +00:00
2025-07-15 20:22:57 +00:00
2025-03-30 18:58:33 +00:00
2025-06-19 11:17:01 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-06-25 13:40:38 +00:00
2024-11-21 16:25:31 +00:00
2024-11-19 22:29:57 +02:00
2025-04-14 09:05:29 +00:00
2025-07-10 14:39:38 +00:00
2025-03-30 18:58:33 +00:00
2025-04-04 17:30:58 +00:00
2025-03-30 18:58:33 +00:00
2025-04-28 17:24:55 +00:00
2025-04-11 09:38:05 +00:00
2025-07-17 08:57:36 +00:00
2025-07-02 16:30:47 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-06-10 05:32:03 +00:00
2025-05-30 15:20:46 +00:00
2025-03-30 18:58:33 +00:00
2025-07-21 20:50:02 +00:00
2025-03-30 18:58:33 +00:00
2025-02-25 12:23:04 +00:00
2025-02-03 12:44:47 +00:00
2025-04-02 10:43:05 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-06-10 08:46:29 +00:00
2025-05-12 15:48:48 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-07-08 12:56:22 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-07-10 18:37:54 +00:00
2025-05-20 15:38:27 +00:00
2025-07-21 18:16:28 +00:00
2025-05-09 07:48:30 +00:00
2025-06-20 10:33:11 +00:00
2025-06-06 11:54:07 +00:00
2025-07-22 14:58:20 +00:00
2025-03-30 18:58:33 +00:00
2025-07-21 20:50:02 +00:00
2025-02-28 21:07:21 +00:00
2025-05-12 15:48:48 +00:00
2025-04-25 14:28:56 +00:00
2025-07-17 19:42:48 +00:00
2025-06-19 11:17:01 +00:00
2025-07-09 15:22:54 +00:00
2025-03-30 18:58:33 +00:00
2025-06-05 11:43:04 +00:00
2025-06-05 11:43:04 +00:00
2025-06-12 08:10:22 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-07-08 12:56:22 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-07-15 14:36:28 +00:00
2025-03-30 18:58:33 +00:00
2025-06-27 15:14:55 +00:00
2025-03-30 18:58:33 +00:00
2025-07-11 18:56:39 +00:00
2025-06-23 22:26:38 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2025-03-30 18:58:33 +00:00
2024-10-08 14:32:26 -05:00
2024-10-28 17:47:15 -05:00
2025-03-30 18:58:33 +00:00
2024-11-14 17:19:13 +02:00
2025-06-19 11:17:01 +00:00
2025-07-16 14:43:17 +00:00
2025-07-04 10:25:03 +00:00
2025-07-14 16:37:04 +00:00
2025-03-30 18:58:33 +00:00