HBASE-6333 MemStoreScanner {kvsetAtCreation,snapshotAtCreation} should be private and not volatile (Gregory)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1358070 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2012-07-06 08:24:59 +00:00
parent 80c83d8803
commit 61089268cd
1 changed files with 2 additions and 2 deletions

View File

@ -679,8 +679,8 @@ public class MemStore implements HeapSize {
private Iterator<KeyValue> snapshotIt;
// The kvset and snapshot at the time of creating this scanner
volatile KeyValueSkipListSet kvsetAtCreation;
volatile KeyValueSkipListSet snapshotAtCreation;
private KeyValueSkipListSet kvsetAtCreation;
private KeyValueSkipListSet snapshotAtCreation;
// Sub lists on which we're iterating
private SortedSet<KeyValue> kvTail;