mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 00:50:35 +00:00
When do_stop_native_transport exits, cserver is destroyed which can happen before cserver->stop(). Fix by capturing cserver in cserver->stop()'s continuation to extend its lifetime. The same for thrift server. scylla: scylla/seastar/core/sharded.hh:327: seastar::sharded<Service>::~sharded() [with Service = transport::cql_server]: Assertion `_instances.empty()' failed.