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