mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 00:20:47 +00:00
Nowadays the topology object only keeps info about nodes that are normal members of the ring. Nodes that are joining or bootstrapping or leaving are out of it. However, one of the goals of this patchset is to make topology object provide dc/rack info for _all_ nodes, even those in transitive state. The introduced _pending_locations is about to hold the dc/rack info for transitive endpoints. When a node becomes member of the ring it is moved from pending (if it's there) to current locations, when it leaves the ring it's moved back to pending. For now the new collection is just added and the add/remove/get API is extended to maintain it, but it's not really populated. It will come in the next patch Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>