mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-05 14:33:08 +00:00
During CQL request processing, a gate is used to ensure that the connection is not shut down until all ongoing requests are done. However, the gate might have been left too early if the database was not ready to respond immediately - which could result in trying to respond to an already closed connection later. This issue is solved by postponing leaving the gate until the continuation chain that handles the request is finished. Refs #4808