Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13378

DS Cassandra3.0 Adding a datacenter to a cluster procedure not working for us

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Not A Problem
    • 3.0.9
    • Local/Config
    • None
    • Critical

    Description

      i have replicated the issue on my personal cluster using VMs.
      we have many keyspaces and users developing on the Dev Cluster we are trying to stretch.
      With my current VMs (10 total) i can create a 2 DC cluster dc1 and dc2.
      i rebuild all nodes - clear data dirs and restart dc1.
      i also clear data dirs on dc2 nodes, i donot restart yet,
      now i have single dc1 5 nodes cluster.
      snitch - GossipingPropertyFileSnitch
      i create keyspaces on DC1
      after i alter keyspaces with replication dc1 3 dc2 0 i can no longer query tables - not enough replicas available for query at consistency ONE.
      same error with CQL using consistency local_one
      continue with procedure, startup dc2 nodes,
      alter replication on keyspaces to dc1 3 dc2 2
      from dc2 nodes , nodetool rebuild – dc1 fails

      i am attaching detailed steps with errors and cassandra.yaml

      Attachments

        1. DS-add-a-dc-C3.0.rtf
          1.40 MB
          Kevin Rivait
        2. cassandra-rackdc.properties_from_dc2_node
          1 kB
          Kevin Rivait
        3. cassandra-rackdc.properties_from_dc1_node
          1 kB
          Kevin Rivait
        4. cassandra.yaml
          45 kB
          Kevin Rivait

        Activity

          People

            Unassigned Unassigned
            krivai442 Kevin Rivait
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: