Skip to content

Commit

Permalink
refresh route table when server return OB_GTS_NOT_READY (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiXinChan authored Jan 9, 2025
1 parent 6a01518 commit 92a1e42
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ private boolean needFetchAll(int errorCode, int pcode) {
|| errorCode == ResultCodes.OB_SNAPSHOT_DISCARDED.errorCode
|| errorCode == ResultCodes.OB_SCHEMA_EAGAIN.errorCode
|| errorCode == ResultCodes.OB_ERR_WAIT_REMOTE_SCHEMA_REFRESH.errorCode
|| errorCode == ResultCodes.OB_GTS_NOT_READY.errorCode
|| (pcode == Pcodes.OB_TABLE_API_LS_EXECUTE && errorCode == ResultCodes.OB_NOT_MASTER.errorCode);
}

Expand Down

0 comments on commit 92a1e42

Please sign in to comment.