Skip to content

Commit 92a1e42

Browse files
authored
refresh route table when server return OB_GTS_NOT_READY (#281)
1 parent 6a01518 commit 92a1e42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/alipay/oceanbase/rpc/bolt/transport/ObTableRemoting.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ private boolean needFetchAll(int errorCode, int pcode) {
199199
|| errorCode == ResultCodes.OB_SNAPSHOT_DISCARDED.errorCode
200200
|| errorCode == ResultCodes.OB_SCHEMA_EAGAIN.errorCode
201201
|| errorCode == ResultCodes.OB_ERR_WAIT_REMOTE_SCHEMA_REFRESH.errorCode
202+
|| errorCode == ResultCodes.OB_GTS_NOT_READY.errorCode
202203
|| (pcode == Pcodes.OB_TABLE_API_LS_EXECUTE && errorCode == ResultCodes.OB_NOT_MASTER.errorCode);
203204
}
204205

0 commit comments

Comments
 (0)