mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-19 16:15:07 +00:00
Try to emulate the origin behaviour for batch reply. They use an explicit write handler, combinging 1.) Hinting to all known dead endpoints 2.) Sending to all persumed live, requiring ack from all 3.) Hinting to endpoint to which send failed. We don't have hints, so try to work around by doing send with cl=ALL, and if send fails (wholly or partially), retain the batch in the log. This is still slight behavioural difference, and we also risk filling up the batch log in extreme cases. (Though probably not in any real environment). Refs #1222 Message-Id: <1466444170-23797-1-git-send-email-calle@scylladb.com>