mirror of https://github.com/apache/cassandra
make DD.defsVersion volatile
patch by Jeffrey Wang; reviewed by jbellis for CASSANDRA-2490 git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1094011 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b553e77331
commit
2828cb4ecf
|
|
@ -85,7 +85,7 @@ public class DatabaseDescriptor
|
|||
private static RequestSchedulerOptions requestSchedulerOptions;
|
||||
|
||||
public static final UUID INITIAL_VERSION = new UUID(4096, 0); // has type nibble set to 1, everything else to zero.
|
||||
private static UUID defsVersion = INITIAL_VERSION;
|
||||
private static volatile UUID defsVersion = INITIAL_VERSION;
|
||||
|
||||
/**
|
||||
* Inspect the classpath to find storage configuration file
|
||||
|
|
|
|||
Loading…
Reference in New Issue