Cassandra Replication System - How It Works

  • Is Cassandra replicated only to the recording procedure (with a selected level of consistency)? Is there an automatic replication option for missing nodes if I want symmetric data in each node?

  • If I connect a new node to the cluster, there is no automatic replication. How to synchronize data from other nodes with a new one?

  • If I need replication, for example, a multimaster (2 nodes) with a slave backup (1 node), known from MySQL, what is the correct way to configure and manage it on Cassandra (3 nodes)? How about two nodes?

+3
source share
1 answer

, , Hinted Handoff, Anti Entropy, .

node auto_bootstrap true, node .

cassandra.yaml(storage-conf.xml 0.6.x) auto_bootstrap:

Set to true to make new [non-seed] nodes automatically migrate the right data to themselves. 
+6

Source: https://habr.com/ru/post/1749691/


All Articles