HBASE-20061 HStore synchronized member variable filesCompacting should be private

Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>

 Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
This commit is contained in:
Sean Busbey 2018-02-23 14:38:03 -06:00
parent 343cdda9ae
commit a37c91bb41
1 changed files with 2 additions and 1 deletions

View File

@ -173,8 +173,9 @@ public class HStore implements Store {
private ScanInfo scanInfo;
// All access must be synchronized.
// TODO: ideally, this should be part of storeFileManager, as we keep passing this to it.
final List<StoreFile> filesCompacting = Lists.newArrayList();
private final List<StoreFile> filesCompacting = Lists.newArrayList();
// All access must be synchronized.
private final Set<ChangedReadersObserver> changedReaderObservers =