mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-03 13:37:04 +00:00
Make get_natural_endpoints return local address iff token metadata is not yet setup (since that is the one address we already know of). If a request has a consistency level requiring more endpoints, it will still fail, but for calls with, for example, CL=ONE, at startup we will succeed, and more or less act like local strategy. Yet, further down the line, have data distributed as desired. Acked-by: Gleb Natapov <gleb@scylladb.com> Message-Id: <20170926113512.15707-1-calle@scylladb.com>