cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Шамим <>
Subject Data not replicating to all datacenters
Date Mon, 03 Dec 2012 14:06:12 GMT
Hello Owen,
  Seems you did not configure token for all nodes correctly. See the section Calculating Tokens
for multiple data centers here

Best regards 
On Mon, Dec 3, 2012 at 4:42 PM, Owen Davies <> wrote:

    We have a 2 data center test cassandra setup running, and are writing
    to it using LOCAL_QUORUM. When reading, sometimes the data is there,
    sometimes it is not, which we think is a replication issue, even
    though we have left it plenty of time after the writes.

    We have the following setup:

    cassandra -v: 1.1.6


    cluster_name: something

    endpoint_snitch: PropertyFileSnitch


    Keyspace: example:
      Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
      Durable Writes: true
        Options: [dc1:3, dc2:3]

    nodetool ring

    Address         DC          Rack        Status State   Load
    Effective-Ownership Token

    159447687142037741049740936276011715300   dc1          rack1       Up     Normal  111.17 GB
    100.00%             67165620003619490909052924699950283577   dc1          rack1       Up     Normal  204.57 GB
    100.00%             71045951808949151217931264995073558408   dc2         rack1       Up     Normal  209.92 GB
    100.00%             107165019770579893816561717940612111506   dc1          rack1       Up     Normal  209.92 GB
    100.00%             114165363957966360026729000065495595953   dc2         rack1       Up     Normal  198.22 GB
    100.00%             147717787092318068320268200174271353451   dc2         rack1       Up     Normal  179.31 GB
    100.00%             159447687142037741049740936276011715300

    Does anyone have any ideas why every server does not have the same
    amount of data on?



View raw message