Skip to content

Commit 8383eb4

Browse files
committed
fix PartitionNumOneTest routed to the wrong server
1 parent fc09ac9 commit 8383eb4

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
@@ -726,9 +726,9 @@ private static TableEntry getTableEntryFromRemote(Connection connection, TableEn
726726
tableEntry.setTableEntryKey(key);
727727
// TODO: check capacity flag later
728728
// fetch tablet ids when table is partition table
729+
// fetch partition info
730+
fetchPartitionInfo(connection, tableEntry);
729731
if (tableEntry.isPartitionTable()) {
730-
// fetch partition info
731-
fetchPartitionInfo(connection, tableEntry);
732732
if (null != tableEntry.getPartitionInfo()) {
733733
// fetch first range part
734734
if (null != tableEntry.getPartitionInfo().getFirstPartDesc()) {

0 commit comments

Comments
 (0)