Skip to content

Commit 8318cb7

Browse files
authored
fix slow recovery when server down because valid follower servers (oceanbase#427)
1 parent 2e4f545 commit 8318cb7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/main/java/com/alipay/oceanbase/rpc/location/model/TableRoute.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -727,14 +727,6 @@ private void validCachedObTableStatus(String tableName, TableEntry tableEntry, l
727727
if (obTable != null && !obTable.isValid()) {
728728
obTable.setValid();
729729
}
730-
731-
for (ReplicaLocation replica : obPartitionLocationInfo.getPartitionLocation().getReplicas()) {
732-
ObServerAddr replicaAddr = replica.getAddr();
733-
ObTable replicaObTable = tableRoster.getTable(replicaAddr);
734-
if (replicaObTable != null && !replicaObTable.isValid()) {
735-
replicaObTable.setValid();
736-
}
737-
}
738730
}
739731

740732
/**

0 commit comments

Comments
 (0)