cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Wang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-2490) DatabaseDescriptor.defsVersion should be volatile
Date Sat, 16 Apr 2011 04:58:06 GMT
DatabaseDescriptor.defsVersion should be volatile
-------------------------------------------------

                 Key: CASSANDRA-2490
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2490
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.7.3
            Reporter: Jeffrey Wang


(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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message