mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-01 21:55:50 +00:00
Apparently the group0 server object dies (and is freed) during drain/shutdown, and I didn't take that into account in my https://github.com/scylladb/scylladb/pull/23025, which still attempts to use it afterwards. The patch fixes two problems. The problem with `is_raft_leader` has been observed in tests. The problems with `publish_new_sstable_dict` has not been observed, but AFAIU (based on code inspection) it exists. I didn't attempt to prove its existence with a test. Should be backported to 2025.3. Closes scylladb/scylladb#25115 * github.com:scylladb/scylladb: storage_service: in publish_new_sstable_dict, use _group0_as instead of the main abort source storage_service: hold group0 gate in `publish_new_sstable_dict`