Avi Kivity
8fa2e3ad2a
Merge 'Remove sstables::remove_by_toc_name()' from Pavel Emelyanov
...
The helper in question complicates the logic of sstable_directory::process() by making garbage collection differently for sstables deleted "atomically" and deleted "one-by-one". Also, the code that deletes sstables one-by-one and uses remove_by_toc_name() renders excessive TOC file reading, because there's sstable object at hand and it had all_components() ready for use.
Surprisingly, there was no test for the deletion-log functionality. This PR adds one. The test passes before the g.c. and regular unlink fix, and (of course) continues passing after it.
Closes scylladb/scylladb#16240
* github.com:scylladb/scylladb:
sstables: Drop remove_by_name()
sstables/fs_storage: Wipe by recognized+unrecognized components
sstable_directory: Enlight deletion log replay
sstables: Split remove_by_toc_name()
test: Add test case to validate deletion log work
sstable_directory: Close dir on exception
sstable_directory: Fix indentation after previous patch
sstable_directory: Coroutinize delete_with_pending_deletion_log()
test: Sstable on_delete() is not necessarily in a thread
sstable_directory: Split delete_with_pending_deletion_log()
2023-12-03 17:29:34 +02:00
..
2023-03-07 17:54:53 +08:00
2023-05-02 11:04:05 +03:00
2023-04-07 20:32:28 +08:00
2023-02-28 21:56:53 +08:00
2023-02-01 20:14:51 -03:00
2023-03-22 13:48:50 +02:00
2023-02-01 20:14:51 -03:00
2023-09-01 22:34:41 +02:00
2023-05-04 02:37:29 +02:00
2023-09-01 22:34:41 +02:00
2023-02-15 11:01:50 +02:00
2023-02-14 11:19:03 +02:00
2023-07-27 12:01:09 +03:00
2023-09-18 23:17:01 +03:00
2023-08-12 11:46:36 +03:00
2023-02-15 11:01:50 +02:00
2023-07-18 10:27:18 +08:00
2023-02-19 12:58:22 +08:00
2023-02-01 20:14:51 -03:00
2023-09-01 22:34:41 +02:00
2023-07-28 15:55:13 +03:00
2023-12-02 22:37:22 +02:00
2023-02-15 11:01:50 +02:00
2023-12-02 22:37:22 +02:00
2023-07-10 19:36:06 +02:00
2023-05-24 22:58:43 +02:00
2023-05-23 08:52:56 +03:00
2023-06-26 11:29:36 +03:00
2023-02-15 11:01:50 +02:00
2023-12-02 22:37:22 +02:00
2023-02-15 11:01:50 +02:00
2023-12-02 22:37:22 +02:00
2023-04-17 14:08:37 +03:00
2023-10-05 10:27:53 +03:00
2023-12-02 22:37:22 +02:00
2023-12-02 22:37:22 +02:00
2023-12-02 22:37:22 +02:00
2023-02-15 11:09:04 +02:00
2023-07-13 10:10:52 +02:00
2023-02-01 20:14:51 -03:00
2023-12-02 22:37:22 +02:00
2023-07-19 19:32:10 +03:00
2023-12-02 22:37:22 +02:00
2023-06-06 13:29:16 +03:00
2023-02-01 20:14:51 -03:00
2023-02-01 20:14:51 -03:00
2023-02-15 11:01:50 +02:00
2023-02-28 21:56:53 +08:00
2023-12-02 22:37:22 +02:00
2023-07-13 10:33:52 +03:00
2023-02-01 20:14:51 -03:00
2023-04-24 14:06:43 +03:00
2023-11-23 11:22:31 +02:00
2023-06-28 16:11:58 +02:00
2023-02-01 20:14:51 -03:00
2023-11-27 10:03:04 +02:00
2023-02-19 21:05:45 +02:00
2023-02-19 21:05:45 +02:00
2023-02-01 20:14:51 -03:00
2023-05-23 10:40:55 +03:00
2023-12-02 22:37:22 +02:00
2023-12-02 22:37:22 +02:00
2023-02-01 20:14:51 -03:00
2023-12-02 22:37:22 +02:00
2023-02-01 20:14:51 -03:00
2023-04-17 14:08:37 +03:00
2023-12-02 22:37:22 +02:00
2023-06-06 13:29:16 +03:00
2023-10-23 08:07:14 -04:00
2023-06-06 13:29:16 +03:00
2023-11-08 14:54:48 +01:00
2023-12-02 22:37:22 +02:00
2023-12-02 22:37:22 +02:00
2023-07-25 21:08:51 +02:00
2023-05-04 03:35:15 +02:00
2023-07-31 10:33:48 +03:00
2023-02-15 11:01:50 +02:00
2023-07-18 10:27:18 +08:00
2023-06-21 00:58:24 +02:00
2023-07-17 14:02:13 +08:00
2023-10-05 10:27:53 +03:00
2023-07-19 19:32:10 +03:00
2023-02-01 20:14:51 -03:00
2023-02-15 11:01:50 +02:00
2023-02-14 11:19:03 +02:00
2023-04-26 09:00:25 +03:00
2023-02-28 21:56:53 +08:00
2023-08-12 11:46:32 +03:00
2023-07-18 16:57:11 +03:00
2023-11-02 19:28:35 +03:00
2023-06-07 12:12:19 +03:00
2023-02-28 21:56:53 +08:00
2023-04-26 22:09:17 +02:00
2023-02-01 20:14:51 -03:00
2023-11-02 19:28:35 +03:00
2023-11-29 12:09:52 +03:00
2023-11-21 16:47:50 +03:00
2023-06-26 11:24:07 +03:00
2023-05-23 08:52:56 +03:00
2023-10-11 00:32:05 +03:00
2023-12-02 22:37:22 +02:00
2023-04-21 09:43:53 +03:00
2023-05-11 16:31:23 +03:00
2023-04-27 10:24:46 +03:00
2023-04-27 10:24:46 +03:00
2023-02-28 21:56:53 +08:00
2023-12-02 22:37:22 +02:00
2023-12-03 17:29:34 +02:00
2023-11-02 19:30:54 +03:00
2023-11-07 09:29:30 +02:00
2023-12-01 18:20:20 +03:00
2023-12-02 22:37:22 +02:00
2023-08-14 15:40:44 +03:00
2023-12-02 22:37:22 +02:00
2023-09-01 22:34:41 +02:00
2023-10-23 21:05:13 +03:00
2023-10-04 18:50:23 +02:00
2023-10-19 09:09:38 +03:00
2023-11-02 19:27:59 +03:00
2023-04-23 21:34:02 +03:00
2023-07-12 13:10:33 +03:00
2023-12-02 22:37:22 +02:00
2023-05-29 23:03:24 +03:00
2023-09-01 22:34:41 +02:00
2023-09-18 13:17:16 +02:00
2023-05-15 10:19:39 +03:00
2023-07-25 21:08:01 +02:00
2023-04-17 14:08:37 +03:00
2023-02-15 11:09:04 +02:00
2023-10-03 10:46:47 +03:00
2023-02-01 20:14:51 -03:00
2023-12-02 22:37:22 +02:00
2023-10-12 17:04:43 +03:00
2023-11-14 11:23:05 +02:00
2023-04-26 14:09:58 +08:00
2023-11-02 19:28:35 +03:00
2023-02-01 20:14:51 -03:00
2023-02-01 20:14:51 -03:00
2023-02-01 20:14:51 -03:00
2023-05-17 15:38:03 +02:00
2023-03-06 13:17:21 +03:00
2023-11-02 19:28:35 +03:00
2023-02-01 20:14:51 -03:00
2023-06-06 08:36:09 +03:00
2023-06-06 08:36:09 +03:00