mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-24 18:40:38 +00:00
If write timeout and last acknowledgement needed for CL happen simultaneously _ready can be sent to be exceptional by the timeout handler, but since removal of the response handler happens in continuation it may be reordered with last ack processing and there _ready will be set again which will trigger assert. Fix it by removing the handler immediately, no need to wait for continuation. It makes code simpler too.