mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-23 08:12:08 +00:00
Messaging service closes connection in rpc call continuation on closed_error, but the code runs for each outstanding rpc call on the connection, so first continuation may destroy genuinely closed connection, then connection is reopened and next continuation that handless previous error kills now perfectly healthy connection. Fix this by closing connection only in error state.