HBASE-20061 HStore synchronized member variable filesCompacting should be private

Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Sean Busbey 2018-02-23 14:38:03 -06:00
parent bbbfeae25e
commit f90b47e3b0
1 changed files with 2 additions and 1 deletions

View File

@ -180,8 +180,9 @@ public class HStore implements Store, HeapSize, StoreConfigInformation, Propagat
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<HStoreFile> filesCompacting = Lists.newArrayList();
private final List<HStoreFile> filesCompacting = Lists.newArrayList();
// All access must be synchronized.
private final Set<ChangedReadersObserver> changedReaderObservers =