Skip to content

Commit 6ce34c4

Browse files
committed
fix PartitionNumOneTest routed to the wrong server
1 parent c803c3f commit 6ce34c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/alipay/oceanbase/rpc/location/LocationUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,9 +725,9 @@ private static TableEntry getTableEntryFromRemote(Connection connection, TableEn
725725
tableEntry.setTableEntryKey(key);
726726
// TODO: check capacity flag later
727727
// fetch tablet ids when table is partition table
728+
// fetch partition info
729+
fetchPartitionInfo(connection, tableEntry);
728730
if (tableEntry.isPartitionTable()) {
729-
// fetch partition info
730-
fetchPartitionInfo(connection, tableEntry);
731731
if (null != tableEntry.getPartitionInfo()) {
732732
// fetch first range part
733733
if (null != tableEntry.getPartitionInfo().getFirstPartDesc()) {

0 commit comments

Comments
 (0)