You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"fail to get table name from remote url=%s, key=%s", url, key), e, e.isConnectInactive());
546
559
} catch (Exceptione) {
547
560
thrownewObTableNotExistException(format(
548
561
"fail to get table name from remote url=%s, key=%s", url, key), e);
@@ -979,8 +992,13 @@ public static Long getTableIdFromRemote(ObServerAddr obServerAddr, ObUserAuth sy
979
992
+ " table_id from remote");
980
993
}
981
994
} catch (Exceptione) {
982
-
thrownewObTableEntryRefreshException("fail to get " + tableName
983
-
+ " table_id from remote", e);
995
+
if (einstanceofObTableEntryRefreshException) {
996
+
thrownewObTableEntryRefreshException(format(
997
+
"fail to get " + tableName + " table_id from remote", e), e, ((ObTableEntryRefreshException) e).isConnectInactive());
998
+
} else {
999
+
thrownewObTableEntryRefreshException(format(
1000
+
"fail to get " + tableName + " table_id from remote", e), e);
1001
+
}
984
1002
} finally {
985
1003
try {
986
1004
if (null != rs) {
@@ -1019,8 +1037,13 @@ public static ObIndexInfo getIndexInfoFromRemote(ObServerAddr obServerAddr, ObUs
1019
1037
thrownewObTableEntryRefreshException("index is not exist");
1020
1038
}
1021
1039
} catch (Exceptione) {
1022
-
thrownewObTableEntryRefreshException(format(
1023
-
"fail to get index info from remote, indexTableName: %s, error message: %s", indexTableName, e.getMessage()), e);
1040
+
if (einstanceofObTableEntryRefreshException) {
1041
+
thrownewObTableEntryRefreshException(format(
1042
+
"fail to get index info from remote, indexTableName: %s, error message: %s", indexTableName, e.getMessage()), e, ((ObTableEntryRefreshException) e).isConnectInactive());
1043
+
} else {
1044
+
thrownewObTableEntryRefreshException(format(
1045
+
"fail to get index info from remote, indexTableName: %s, error message: %s", indexTableName, e.getMessage()), e);
0 commit comments