mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-24 00:32:15 +00:00
This pull request adds support for retrying failed forwarder calls (currently used to parallelize `select count(*) from ...` queries). Failed-to-forward sub-queries will be executed locally (on a super-coordinator). This local execution is meant as a fallback for a forward_requests that could not be sent to its destined coordinator (e.g. due gossiper not reacting fast enough). Local execution was chosen as the safest one - it does not require sending data to another coordinator. Due to problems with misscompilations, some parts of the `forward_service` were uncoroutinized. Fixes: #10131 Closes #10329 * github.com:scylladb/scylla: forward_service: uncoroutinize dispatch method forward_service: uncoroutinize retrying_dispatcher forward_service: rety a failed forwarder call forward_service: copy arguments/captured vars to local variables