HBASE-12166 TestDistributedLogSplitting.testMasterStartsUpWithLogReplayWork
This commit is contained in:
parent
bc4f25ff45
commit
ef35182f1f
@ -341,8 +341,8 @@ public class ZKSplitLogManagerCoordination extends ZooKeeperListener implements
|
||||
if (recoveredServerNameSet.containsAll(failedServers)) {
|
||||
ZKUtil.deleteNodeRecursively(watcher, nodePath);
|
||||
} else {
|
||||
listSize = failedServers.size();
|
||||
for (int j = 0; j < listSize; j++) {
|
||||
int tmpFailedServerSize = failedServers.size();
|
||||
for (int j = 0; j < tmpFailedServerSize; j++) {
|
||||
String failedServer = failedServers.get(j);
|
||||
if (recoveredServerNameSet.contains(failedServer)) {
|
||||
String tmpPath = ZKUtil.joinZNode(nodePath, failedServer);
|
||||
@ -733,9 +733,9 @@ public class ZKSplitLogManagerCoordination extends ZooKeeperListener implements
|
||||
continue;
|
||||
}
|
||||
boolean needMoreRecovery = false;
|
||||
listSize = regionFailedServers.size();
|
||||
for (i = 0; i < listSize; i++) {
|
||||
if (knownFailedServers.contains(regionFailedServers.get(i))) {
|
||||
int tmpFailedServerSize = regionFailedServers.size();
|
||||
for (int j = 0; j < tmpFailedServerSize; j++) {
|
||||
if (knownFailedServers.contains(regionFailedServers.get(j))) {
|
||||
needMoreRecovery = true;
|
||||
break;
|
||||
}
|
||||
|
@ -161,7 +161,7 @@ public class TestRegionReplicaReplicationEndpoint {
|
||||
// load the data to the table
|
||||
HTU.loadNumericRows(table, HBaseTestingUtility.fam1, 0, 1000);
|
||||
|
||||
verifyReplication(tableName, regionReplication, 0, 1000);
|
||||
verifyReplication(tableName, regionReplication, 0, 6000);
|
||||
|
||||
} finally {
|
||||
table.close();
|
||||
@ -334,7 +334,7 @@ public class TestRegionReplicaReplicationEndpoint {
|
||||
// now enable the replication
|
||||
admin.enablePeer(ServerRegionReplicaUtil.getReplicationPeerId());
|
||||
|
||||
verifyReplication(tableName, regionReplication, 0, 1000);
|
||||
verifyReplication(tableName, regionReplication, 0, 6000);
|
||||
|
||||
} finally {
|
||||
admin.close();
|
||||
|
Loading…
x
Reference in New Issue
Block a user