Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Signed-off-by: shiyuhang <1136742008@qq.com>
  • Loading branch information
shiyuhang0 committed Apr 10, 2023
1 parent 4095c8c commit 6a64085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/tikv/common/region/RegionManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public Pair<TiRegion, TiStore> getRegionStorePairByKey(
region.SetReplicaIdx(0);
Peer peer = region.getCurrentReplica();
store = getStoreById(peer.getStoreId(), backOffer);
while (!store.isReachable()){
while (!store.isReachable()) {
peer = region.getNextReplica();
store = getStoreById(peer.getStoreId(), backOffer);
}
Expand Down

0 comments on commit 6a64085

Please sign in to comment.