Lakshmi Narayanan Sreethar
1d1e572962
sstables: skip bloom filter rebuilds with minimal savings
...
If a bloom filter was built with a bad partition estimate, it is rebuilt
right before the sstable is sealed. The rebuild is already skipped if
the current bitset size results in a false-positive rate within 75%–125%
of the configured value.
This patch adds additional conditions to prevent rebuilds when the
savings are minimal. It also skips rebuilding for garbage collected
sstables, since they will be dropped soon anyway.
Also updated and added more test cases to cover these new criteria for
bloom filter rebuilds.
Fixes #25464
Fixes #25468
Signed-off-by: Lakshmi Narayanan Sreethar <lakshmi.sreethar@scylladb.com >
Closes scylladb/scylladb#25968
2025-09-14 18:19:50 +03:00
..
2025-07-27 19:39:36 +03:00
2025-09-07 00:32:02 +02:00
2025-09-12 15:58:19 +03:00
2025-09-07 00:32:02 +02:00
2025-05-14 08:32:05 +02:00
2024-12-18 17:45:13 +02:00
2025-01-14 07:56:39 -05:00
2025-07-15 10:10:23 +03:00
2025-07-15 10:10:23 +03:00
2025-09-07 00:32:02 +02:00
2024-12-18 17:45:13 +02:00
2025-04-09 08:54:06 +03:00
2025-07-31 13:10:41 +03:00
2025-07-31 13:10:41 +03:00
2025-07-31 13:10:41 +03:00
2025-07-31 13:10:41 +03:00
2025-09-07 00:30:15 +02:00
2024-12-18 17:45:13 +02:00
2025-01-27 09:29:26 -05:00
2024-12-18 17:45:13 +02:00
2025-08-05 00:56:50 +02:00
2025-03-19 13:03:29 +03:00
2024-12-18 17:45:13 +02:00
2025-08-08 11:46:21 +03:00
2024-12-18 17:45:13 +02:00
2025-07-17 10:32:57 +02:00
2025-09-07 00:30:15 +02:00
2025-02-10 15:44:55 +03:00
2024-12-18 17:45:13 +02:00
2025-07-25 10:45:32 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-08-11 10:10:08 +08:00
2025-07-25 10:45:32 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-06-24 09:16:28 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-06-24 09:16:28 +03:00
2024-12-18 17:45:13 +02:00
2025-06-24 09:16:28 +03:00
2025-06-24 09:16:28 +03:00
2025-09-01 14:58:21 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-05-07 14:43:20 +02:00
2025-08-08 11:46:21 +03:00
2025-08-08 11:46:21 +03:00
2024-12-19 14:56:07 +02:00
2025-07-27 19:39:36 +03:00
2025-04-29 15:47:33 -03:00
2025-08-08 06:51:28 +03:00
2025-04-29 15:47:33 -03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-07-07 13:16:21 +03:00
2024-12-18 17:45:13 +02:00
2025-09-07 00:32:02 +02:00
2025-04-09 08:54:07 +03:00
2025-09-05 18:25:34 +03:00
2025-09-05 18:25:34 +03:00
2024-12-18 17:45:13 +02:00
2025-09-14 18:19:50 +03:00
2025-08-18 11:01:21 +08:00
2024-12-18 17:45:13 +02:00
2025-07-06 09:18:39 +03:00
2025-07-06 09:18:39 +03:00
2024-12-18 17:45:13 +02:00
2025-09-07 00:30:15 +02:00
2025-07-22 12:39:01 +02:00
2025-09-07 00:32:02 +02:00
2025-09-07 00:32:02 +02:00
2025-04-01 00:07:27 +02:00