Skip to content

Commit 9f51346

Browse files
committed
resolve issue with ObTable configuration being empty on route refresh
1 parent 72ceac7 commit 9f51346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/alipay/oceanbase/rpc/ObTableClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ public void syncRefreshMetadata() throws Exception {
960960

961961
ObTable obTable = new ObTable.Builder(addr.getIp(), addr.getSvrPort()) //
962962
.setLoginInfo(tenantName, userName, password, database) //
963-
.setProperties(getProperties())//
963+
.setProperties(getProperties()).setConfigs(getTableConfigs())
964964
.build();
965965
ObTable oldObTable = tableRoster.putIfAbsent(addr, obTable); // not control concurrency
966966
logger.warn("add new table addr, {}", addr.toString());

0 commit comments

Comments
 (0)