2d203c447995e53067ac92befd6281534866b4bd
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type wals : Set<String> to wals : Collection<String> in method private removeRemoteWALs(peerId String, remoteWALDir String, wals Collection<String>) : void in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceManager | From | To | |
Rename Variable | 1 | ||
Rename Variable inclusive : boolean to walsToRemove : NavigableSet<String> in method package cleanOldLogs(log String, inclusive boolean, source ReplicationSourceInterface) : void in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceManager | From | To | |
Change Variable Type | 1 | ||
Change Variable Type inclusive : boolean to walsToRemove : NavigableSet<String> in method package cleanOldLogs(log String, inclusive boolean, source ReplicationSourceInterface) : void in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceManager | From | To | |
Extract Method | 2 | ||
Extract Method private mockReplicationSource(peerId String) : ReplicationSourceInterface extracted from public testRemoveRemoteWALs() : void in class org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager | From | To | |
Extract Method private getWALNameGroupFromWALName(name String, group int) : String extracted from public getWALPrefixFromWALName(name String) : String in class org.apache.hadoop.hbase.wal.AbstractFSWALProvider | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public getWALStartTimeFromWALName(name String) : long extracted from private getTS(p Path) : long in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.LogsComparator & moved to class org.apache.hadoop.hbase.wal.AbstractFSWALProvider | From | To | |
Extract And Move Method public getRemoteWALDirForPeer(remoteWALDir Path, peerId String) : Path extracted from protected executeFromState(env MasterProcedureEnv, state PeerSyncReplicationStateTransitionState) : Flow in class org.apache.hadoop.hbase.master.replication.TransitPeerSyncReplicationStateProcedure & moved to class org.apache.hadoop.hbase.replication.ReplicationUtils | From | To |