mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-27 03:45:11 +00:00
It is useful for the client driver to know which shard is serving a particular connection, so it can only send requests through that connection which will be served by the same shard, eliminating a hop. Support that by advertising a "SCYLLA_SHARD" option, with a value corresponding to the shard number. Acked-by: Glauber Costa <glauber@scylladb.com> Message-Id: <20180606203437.1198-1-avi@scylladb.com>