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

Data loss after moving tokens

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Fixed
    • 2.1.0
    • None
    • OSX and Ubuntu 14.04

    • Critical

    Description

      The dtest topology_test:TestTopology.movement_test is failing on 2.1.0 and 2.1-HEAD. The test, which has been attached, goes through the following workflow:

      • Create an unbalanced three node cluster without vnodes
      • Create a keyspace with RF=1
      • Load data into the cluster
      • Flush the cluster with nodetool flush
      • Move the tokens around to balance the cluster, using nodetool move
      • Run nodetool cleanup

      At this point, the test checks that all 10,000 of the originally inserted rows are still there. In 2.0.10 that is true, however in 2.1, only ~4000 rows exist.

      Attachments

        1. topology_test.py
          6 kB
          Philip Thompson
        2. 7863-2.1.0.txt
          3 kB
          Tom Hobbs

        Issue Links

          Activity

            People

              thobbs Tom Hobbs
              philipthompson Philip Thompson
              Tom Hobbs
              Yuki Morishita
              Philip Thompson Philip Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: