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

bootstrapping new node after upgrading cluster causes counter columns to randomly have incorrect values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • java version "1.7.0_25"
      Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
      Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

    • Normal

    Description

      Running the latest version of upgrade_through_versions_test will randomly fail at a rate of about 1 out of 5 runs due to an incorrect counter value. A slightly modified version of the test is attached for reference. This version has trunk eliminated from the versions list and an extra debugging statement.

      The problem occurs after upgrading to the 2.0 branch from the 1.2 branch and after boostrapping a new node to the cluster. Best way to repro is just run the test in a loop 5 to 10 times.

      Be sure to set PRINT_DEBUG env variable to true and run test with --nocapture to see the debug output. Logs are also included.

      Attachments

        1. upgrade_through_versions_test.py
          6 kB
          Daniel Meyer
        2. logs.tar
          0.1 kB
          Daniel Meyer

        Issue Links

          Activity

            People

              rhatch Russ Hatch
              dmeyer Daniel Meyer
              Russ Hatch
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: