Botond Dénes
af2cb66cfc
Merge 'sstables_manager: do not reclaim unlinked sstables' from Lakshmi Narayanan Sreethar
...
When an sstable is unlinked, it remains in the _active list of the
sstable manager. Its memory might be reclaimed and later reloaded,
causing issues since the sstable is already unlinked. This patch updates
the on_unlink method to reclaim memory from the sstable upon unlinking,
remove it from memory tracking, and thereby prevent the issues described
above.
Added a testcase to verify the fix.
Fixes #21887
This is a bug fix in the bloom filter reload/reclaim mechanism and should be backported to older versions.
Closes scylladb/scylladb#21895
* github.com:scylladb/scylladb:
sstables_manager: reclaim memory from sstables on unlink
sstables_manager: introduce reclaim_memory_and_stop_tracking_sstable()
sstables: introduce disable_component_memory_reload()
sstables_manager: log sstable name when reclaiming components
(cherry picked from commit d4129ddaa6 )
Closes scylladb/scylladb#21997
2025-01-08 13:10:30 +02:00
..
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-05-20 12:56:20 +03:00
2024-06-21 19:20:27 +03:00
2024-02-06 13:22:16 +02:00
2025-01-08 13:10:30 +02:00
2024-02-02 22:12:57 +08:00
2024-06-17 17:33:55 +03:00
2024-06-21 07:12:06 +03:00
2024-12-05 09:50:07 +02:00
2024-02-06 13:22:16 +02:00
2024-05-02 19:37:04 +03:00
2024-02-06 13:22:16 +02:00
2024-06-18 10:41:48 +08:00
2024-02-02 22:12:57 +08:00
2024-06-14 13:47:10 +05:30
2024-06-25 12:08:11 +03:00
2024-08-30 16:17:44 +02:00
2024-05-20 12:56:20 +03:00
2024-06-17 17:33:55 +03:00
2024-10-03 09:11:40 +03:00
2024-10-20 20:44:44 -03:00
2024-05-26 12:32:43 +08:00
2024-06-07 06:44:59 +08:00
2024-01-11 08:37:56 +02:00
2024-05-20 12:56:20 +03:00
2024-05-20 12:56:20 +03:00
2024-09-13 18:11:11 +03:00
2024-06-07 06:44:59 +08:00
2024-02-06 13:22:16 +02:00
2024-06-25 12:11:28 +03:00
2024-02-06 13:22:16 +02:00
2024-09-13 18:17:15 +03:00
2024-06-21 07:12:06 +03:00
2024-08-26 21:50:39 +00:00
2024-02-06 13:22:16 +02:00
2024-01-18 12:50:06 +02:00
2023-12-02 22:37:22 +02:00
2024-02-06 13:22:16 +02:00
2024-04-19 07:44:07 +03:00
2024-05-20 12:56:20 +03:00
2024-08-27 12:12:39 +00:00
2024-02-06 13:22:16 +02:00
2024-09-13 18:11:11 +03:00
2024-05-05 23:31:48 +03:00
2024-02-06 13:22:16 +02:00
2024-02-02 22:12:57 +08:00
2024-06-21 07:12:06 +03:00
2024-08-30 16:17:44 +02:00
2024-05-20 12:56:20 +03:00
2024-04-19 22:56:16 +08:00
2024-07-31 20:52:23 +00:00
2024-01-11 08:37:56 +02:00
2024-06-19 23:19:33 +02:00
2024-05-26 12:32:43 +08:00
2024-12-05 09:50:07 +02:00
2024-05-05 23:31:48 +03:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-02-02 22:12:57 +08:00
2024-02-02 22:12:57 +08:00
2024-02-02 22:12:57 +08:00
2024-02-06 13:22:16 +02:00
2024-02-02 22:12:57 +08:00
2024-04-25 16:03:01 +03:00
2024-02-06 13:22:16 +02:00
2024-07-08 16:08:27 +02:00
2024-07-17 09:36:28 +00:00
2024-02-06 13:22:16 +02:00
2024-05-16 00:28:47 +02:00
2024-06-21 07:12:06 +03:00
2024-06-21 07:12:06 +03:00
2024-06-21 07:12:06 +03:00
2024-06-21 07:12:06 +03:00
2024-07-09 16:53:35 -03:00
2024-06-21 07:12:06 +03:00
2024-11-08 15:33:20 +01:00
2024-08-26 21:50:39 +00:00
2024-05-26 12:32:43 +08:00
2024-02-06 13:22:16 +02:00
2024-05-16 00:28:47 +02:00
2024-05-16 00:28:47 +02:00
2024-01-11 14:33:47 +08:00
2024-06-21 07:12:06 +03:00
2024-05-26 12:32:43 +08:00
2024-03-11 11:37:48 +02:00
2024-06-27 09:57:11 -04:00
2024-06-21 07:12:06 +03:00
2024-04-19 22:56:16 +08:00
2024-02-06 13:22:16 +02:00
2024-06-04 15:43:04 +02:00
2024-06-21 07:12:06 +03:00
2024-02-02 22:12:57 +08:00
2024-06-07 06:44:59 +08:00
2024-06-21 07:12:06 +03:00
2024-06-21 07:12:06 +03:00
2024-03-26 15:31:18 +02:00
2024-05-16 00:28:47 +02:00
2024-06-18 15:55:22 +08:00
2024-05-26 12:32:43 +08:00
2023-12-05 14:09:34 +01:00
2024-04-19 22:57:36 +08:00
2024-05-27 17:34:38 +03:00
2024-05-16 13:30:03 +02:00
2024-07-11 12:53:54 +02:00
2024-12-06 10:37:23 +02:00
2024-06-21 07:12:06 +03:00
2024-06-24 12:06:02 +05:30
2024-10-20 09:10:47 +03:00
2023-12-05 08:25:04 +03:00
2024-02-02 22:12:57 +08:00
2024-06-21 07:12:06 +03:00
2024-02-02 22:12:57 +08:00
2024-06-21 07:12:06 +03:00
2024-08-19 12:11:50 +00:00
2024-06-21 07:12:06 +03:00
2024-08-19 12:11:50 +00:00
2024-06-18 23:36:30 +05:30
2024-09-13 18:11:11 +03:00
2024-04-19 22:56:16 +08:00
2024-05-03 11:34:23 +03:00
2024-07-24 09:03:52 +03:00
2024-02-06 13:22:16 +02:00
2024-09-16 16:22:29 +02:00
2024-04-19 22:57:36 +08:00
2024-05-27 17:34:38 +03:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-06-04 15:43:04 +02:00
2024-06-18 15:55:22 +08:00
2024-05-26 12:32:43 +08:00
2024-04-19 22:56:16 +08:00
2024-03-26 13:38:37 +08:00
2024-06-21 07:12:06 +03:00
2024-05-10 14:56:38 +02:00
2024-05-05 23:31:48 +03:00
2024-05-05 23:31:48 +03:00
2024-06-06 10:45:13 +02:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-05-26 12:32:43 +08:00