3e10e6e1a61aa2a481a1450fecb94bce23809dfe
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 17
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 4 | ||
| Rename Method public completeCompactionMarker(compaction CompactionDescriptor) : void renamed to public replayCompactionMarker(compaction CompactionDescriptor, pickCompactionFiles boolean, removeFiles boolean) : void in class org.apache.hadoop.hbase.regionserver.HStore | From | To | |
| Rename Method package completeCompactionMarker(compaction CompactionDescriptor) : void renamed to package replayWALCompactionMarker(compaction CompactionDescriptor, pickCompactionFiles boolean, removeFiles boolean, replaySeqId long) : void in class org.apache.hadoop.hbase.regionserver.HRegion | From | To | |
| Rename Method public completeCompactionMarker(compaction CompactionDescriptor) : void renamed to public replayCompactionMarker(compaction CompactionDescriptor, pickCompactionFiles boolean, removeFiles boolean) : void in class org.apache.hadoop.hbase.regionserver.Store | From | To | |
| Rename Method public testLogReplay() : void renamed to public doTestLogReplay() : void in class org.apache.hadoop.hbase.regionserver.TestPerColumnFamilyFlush | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type status : FileStatus to path : Path in method public getStoreFileInfo(conf Configuration, fs FileSystem, regionInfo HRegionInfo, regionInfoForFs HRegionInfo, familyName String, path Path) : StoreFileInfo in class org.apache.hadoop.hbase.util.ServerRegionReplicaUtil | From | To | |
| Rename Variable | 1 | ||
| Rename Variable inputPaths : List<Path> to inputFiles : List<String> in method public replayCompactionMarker(compaction CompactionDescriptor, pickCompactionFiles boolean, removeFiles boolean) : void in class org.apache.hadoop.hbase.regionserver.HStore | From | To | |
| Extract Variable | 1 | ||
| Extract Variable replaySeqId : long in method private doMiniBatchMutation(batchOp BatchOperationInProgress<?>) : long from class org.apache.hadoop.hbase.regionserver.HRegion | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type storeFlushCtxs : List<StoreFlushContext> to storeFlushCtxs : TreeMap<byte[],StoreFlushContext> in method protected internalPrepareFlushCache(wal WAL, myseqid long, storesToFlush Collection<Store>, status MonitoredTask, isReplay boolean) : PrepareFlushResult in class org.apache.hadoop.hbase.regionserver.HRegion | From | To | |
| Change Variable Type inputPaths : List<Path> to inputFiles : List<String> in method public replayCompactionMarker(compaction CompactionDescriptor, pickCompactionFiles boolean, removeFiles boolean) : void in class org.apache.hadoop.hbase.regionserver.HStore | From | To | |
| Extract Method | 4 | ||
| Extract Method private refreshStoreFilesInternal(newFiles Collection<StoreFileInfo>) : void extracted from public refreshStoreFiles() : void in class org.apache.hadoop.hbase.regionserver.HStore | From | To | |
| Extract Method protected internalFlushCacheAndCommit(wal WAL, status MonitoredTask, prepareResult PrepareFlushResult, storesToFlush Collection<Store>) : FlushResult extracted from protected internalFlushcache(wal WAL, myseqid long, storesToFlush Collection<Store>, status MonitoredTask) : FlushResult in class org.apache.hadoop.hbase.regionserver.HRegion | From | To | |
| Extract Method package putData(region HRegion, durability Durability, startRow int, numRows int, qf byte[], families byte[]...) : void extracted from private putData(region HRegion, startRow int, numRows int, qf byte[], families byte[]...) : void in class org.apache.hadoop.hbase.regionserver.TestHRegion | From | To | |
| Extract Method protected internalPrepareFlushCache(wal WAL, myseqid long, storesToFlush Collection<Store>, status MonitoredTask, isReplay boolean) : PrepareFlushResult extracted from protected internalFlushcache(wal WAL, myseqid long, storesToFlush Collection<Store>, status MonitoredTask) : FlushResult in class org.apache.hadoop.hbase.regionserver.HRegion | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter status : FileStatus to path : Path in method public getStoreFileInfo(conf Configuration, fs FileSystem, regionInfo HRegionInfo, regionInfoForFs HRegionInfo, familyName String, path Path) : StoreFileInfo in class org.apache.hadoop.hbase.util.ServerRegionReplicaUtil | From | To |