nosql - how Cassandra chooses the coordinator node and the replication nodes? -
how cassandra client chooses coordinator node? coordinator node stores data sent client before replicating?
the coordinator node typically chosen algorith takes "network distance" account. node can act coordinator, , @ first requests sent nodes driver knows about. once connects , understands topology of cluster, may change "closer" coordinator.
the coordinator stores data locally (on write) if ends being 1 of nodes responsible data's token range.
Comments
Post a Comment