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

DatabaseDescriptor.defsVersion should be volatile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7.5
    • None
    • None
    • Low

    Description

      (Probably affects other versions, but I am on 0.7.3).

      DatabaseDescriptor.defsVersion should be protected by volatile since it is written to and read by multiple threads from unsynchronized methods. This can manifest itself in schema agreement never occurring due to a node broadcasting the wrong schema version.

      Attachments

        Activity

          People

            paladin8 Jeffrey Wang
            paladin8 Jeffrey Wang
            Jeffrey Wang
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: