From 61089268cd03cbcd939c4cfdf2f0ff461acc9980 Mon Sep 17 00:00:00 2001 From: Zhihong Yu Date: Fri, 6 Jul 2012 08:24:59 +0000 Subject: [PATCH] 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 --- .../java/org/apache/hadoop/hbase/regionserver/MemStore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java index 0592f400c67..033c9f862bf 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java @@ -679,8 +679,8 @@ public class MemStore implements HeapSize { private Iterator 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 kvTail;