Skip to content

Commit e62a6d8

Browse files
committed
remove lsop + OB_NOT_MASTER
1 parent 041bb5d commit e62a6d8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,7 @@ private boolean needFetchMeta(int errorCode, int pcode) {
201201
|| errorCode == ResultCodes.OB_SCHEMA_EAGAIN.errorCode
202202
|| errorCode == ResultCodes.OB_ERR_WAIT_REMOTE_SCHEMA_REFRESH.errorCode
203203
|| errorCode == ResultCodes.OB_GTS_NOT_READY.errorCode
204-
|| errorCode == ResultCodes.OB_ERR_OPERATION_ON_RECYCLE_OBJECT.errorCode
205-
|| (pcode == Pcodes.OB_TABLE_API_LS_EXECUTE && errorCode == ResultCodes.OB_NOT_MASTER.errorCode);
204+
|| errorCode == ResultCodes.OB_ERR_OPERATION_ON_RECYCLE_OBJECT.errorCode;
206205
}
207206

208207
private boolean needFetchPartitionLocation(int errorCode) {

0 commit comments

Comments
 (0)