Skip to content

Commit a46e2b0

Browse files
committed
add result code -4723
1 parent 73ef9aa commit a46e2b0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/main/java/com/alipay/oceanbase/rpc/location/LocationUtil.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,8 @@ private static TableEntry callTableEntryRefresh(ObServerAddr obServerAddr, Table
395395
RUNTIME.error(LCD.convert("01-00007"), url, key, e);
396396
}
397397
throw new ObTableEntryRefreshException(format(
398-
"fail to refresh table entry from remote url=%s, key=%s", url, key), e);
398+
"fail to refresh table entry from remote url=%s, key=%s, message=%s", url, key,
399+
e.getMessage()), e);
399400
} finally {
400401
try {
401402
if (null != connection) {

src/main/java/com/alipay/oceanbase/rpc/protocol/payload/ResultCodes.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,9 @@ public enum ResultCodes {
358358
OB_CLUSTER_NO_MATCH(-4666), //
359359
OB_CHECK_ZONE_MERGE_ORDER(-4667), //
360360
OB_ERR_ZONE_NOT_EMPTY(-4668), //
361-
OB_USE_DUP_FOLLOW_AFTER_DML(-4686), OB_LS_NOT_EXIST(-4719), //
361+
OB_USE_DUP_FOLLOW_AFTER_DML(-4686), //
362+
OB_LS_NOT_EXIST(-4719), //
363+
OB_MAPPING_BETWEEN_TABLET_AND_LS_NOT_EXIST(-4723), //
362364
OB_TABLET_NOT_EXIST(-4725), //
363365
OB_ERR_PARSER_INIT(-5000), //
364366
OB_ERR_PARSE_SQL(-5001), //

0 commit comments

Comments
 (0)