Tomasz Grabiec
a7f10b585e
Merge 'drop table: fix crash on drop table with concurrent cleanup' from Ferenc Szili
...
Consider the following scenario:
- A tablet is migrated away from a shard
- The tablet cleanup stage closes the storage group's async_gate
- A drop table runs truncate which attempts to disable compaction on the tablet with its gate closed. This fails, because table::parallel_foreach_compaction_group() ultimately calls storage_group_manager::parallel_foreach_storage_group() which will not disable compaction if it can't hold the storage group's gate
- Truncate calls table::discard_sstables() which checks if the compaction has been disabled, and because it hasn't, it then runs on_internal_error() with "compaction not disabled on table ks.cf during TRUNCATE" which causes a crash
Fixes : #25706
This needs to be backported to all supported versions with tablets
Closes scylladb/scylladb#25708
* github.com:scylladb/scylladb:
test: reproducer and test for drop with concurrent cleanup
truncate: check for closed storage group's gate in discard_sstables
2025-09-02 00:02:14 +02:00
..
2025-08-26 18:41:40 +02:00
2025-08-22 11:30:10 +03:00
2025-08-27 10:23:04 +02:00
2025-07-15 10:10:23 +03:00
2025-07-24 19:48:09 +02:00
2025-08-11 10:10:07 +08:00
2025-08-22 09:51:24 +03:00
2025-08-18 09:42:13 +00:00
2025-03-30 19:23:40 +03:00
2025-08-04 15:38:16 +03:00
2025-03-30 19:23:40 +03:00
2025-04-25 12:25:15 +02:00
2025-07-07 12:24:05 +03:00
2025-03-24 14:54:45 +02:00
2025-07-10 10:56:53 +08:00
2025-06-09 12:59:04 +02:00
2025-07-25 17:16:14 +02:00
2025-05-30 08:35:56 +02:00
2025-07-17 17:16:17 +02:00
2025-05-10 16:30:18 +02:00
2025-08-13 10:32:22 +02:00
2025-05-10 16:30:18 +02:00
2025-03-30 19:23:40 +03:00
2025-03-30 19:23:40 +03:00
2025-06-23 17:56:26 +02:00
2025-05-10 16:30:18 +02:00
2025-05-19 11:50:55 +00:00
2025-05-10 16:30:18 +02:00
2025-07-01 12:58:02 +02:00
2025-03-24 14:54:45 +02:00
2025-03-24 14:54:45 +02:00
2025-05-10 16:30:18 +02:00
2025-05-10 16:30:18 +02:00
2025-03-24 14:54:45 +02:00
2025-04-06 18:39:24 +03:00
2025-09-01 13:59:47 +02:00
2025-03-30 19:23:40 +03:00
2025-03-24 14:54:45 +02:00
2025-05-19 11:50:55 +00:00
2025-08-18 11:01:22 +08:00
2025-08-22 09:51:24 +03:00
2025-07-29 15:37:47 +02:00
2025-08-22 09:51:24 +03:00
2025-05-19 11:50:55 +00:00
2025-08-22 09:51:24 +03:00
2025-08-22 11:33:32 +02:00
2025-03-30 19:23:40 +03:00
2025-03-30 19:23:40 +03:00
2025-04-17 16:22:58 +02:00
2025-08-22 09:51:24 +03:00
2025-08-04 15:38:16 +03:00
2025-08-10 10:16:00 +02:00
2025-05-10 16:30:26 +02:00
2025-03-30 19:23:40 +03:00
2025-03-24 14:54:45 +02:00
2025-08-08 19:48:58 +02:00
2025-03-24 14:54:45 +02:00
2025-08-07 11:20:00 +02:00
2025-08-07 11:20:00 +02:00
2025-03-24 14:54:45 +02:00
2025-03-24 14:54:45 +02:00
2025-08-22 10:09:37 +03:00
2025-08-22 09:51:24 +03:00
2025-03-30 19:23:40 +03:00
2025-06-27 16:23:08 +03:00
2025-05-29 16:12:09 +03:00
2025-05-10 16:30:18 +02:00
2025-08-21 11:48:17 +03:00
2025-03-30 19:23:40 +03:00
2025-03-24 14:54:45 +02:00
2025-05-19 11:50:55 +00:00
2025-03-30 13:39:40 +03:00
2025-05-10 16:30:18 +02:00
2025-05-10 16:30:18 +02:00
2025-05-10 16:30:18 +02:00
2025-07-10 10:46:55 +02:00
2025-05-10 16:30:18 +02:00
2025-06-25 11:30:28 +03:00
2025-06-02 15:49:29 +02:00
2025-04-29 15:47:33 -03:00
2025-07-11 16:30:46 +02:00
2025-04-23 14:29:28 +02:00
2025-07-29 13:43:53 +08:00
2025-07-31 14:31:55 +03:00
2025-08-10 10:16:00 +02:00
2025-08-27 10:23:04 +02:00
2025-05-10 16:30:18 +02:00
2025-09-01 14:31:04 +03:00
2025-08-22 10:19:43 +03:00
2025-07-31 14:31:55 +03:00
2025-05-10 16:30:49 +02:00
2025-09-02 00:02:14 +02:00
2025-05-10 16:30:18 +02:00
2025-05-10 16:30:18 +02:00
2025-03-24 14:54:45 +02:00
2025-05-10 16:30:49 +02:00
2025-05-10 16:30:49 +02:00
2025-09-01 14:16:29 +02:00
2025-08-22 09:51:24 +03:00
2025-03-30 19:23:40 +03:00
2025-05-10 16:30:18 +02:00
2025-03-24 14:54:45 +02:00
2025-03-30 19:23:40 +03:00
2025-05-10 16:30:18 +02:00
2025-03-24 14:54:45 +02:00
2025-03-24 14:54:45 +02:00
2025-03-24 14:54:45 +02:00
2025-08-05 13:54:14 +02:00
2025-06-11 11:29:33 +03:00
2025-07-22 15:03:30 +02:00
2025-08-27 10:23:04 +02:00
2025-08-27 10:23:04 +02:00
2025-07-28 10:08:06 +02:00
2025-08-22 09:51:24 +03:00
2025-08-22 09:51:24 +03:00
2025-05-10 16:30:34 +02:00
2025-06-25 12:00:16 +03:00