mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 20:16:43 +00:00
" LWT is much more efficient if a request is processed on a shard that owns a token for the request. This is because otherwise the processing will bounce to an owning shard multiple times. The patch proposes a way to move request to correct shard before running lwt. It works by returning an error from lwt code if a shard is incorrect one specifying the shard the request should be moved to. The error is processed by the transport code that jumps to a correct shard and re-process incoming message there. " * 'gleb/bounce_lwt_request' of github.com:scylladb/seastar-dev: lwt: take raw lock for entire cas duration lwt: drop invoke_on in paxos_state prepare and accept lwt: Process lwt request on a owning shard storage_service: move start_native_transport into a thread transport: change make_result to takes a reference to cql result instead of shared_ptr