mirror of https://github.com/apache/cassandra
isFrozen needs to be volatile
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1087921 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
11787dcef9
commit
264c7f01a3
|
|
@ -52,7 +52,7 @@ public class Memtable implements Comparable<Memtable>, IFlushable
|
|||
{
|
||||
private static final Logger logger = LoggerFactory.getLogger(Memtable.class);
|
||||
|
||||
private boolean isFrozen;
|
||||
private volatile boolean isFrozen;
|
||||
|
||||
private final AtomicLong currentThroughput = new AtomicLong(0);
|
||||
private final AtomicLong currentOperations = new AtomicLong(0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue