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
* support mysql date/datetime (#287)
* fix addr expired throw (#292)
* add fts case (#294)
* Move JDBC driver loading to static initializer (#293)
* Optimize JDBC driver loading with thread-safe initialization and reduce log
* Move JDBC driver loading to static initializer
* remove unused code
* remove unused code
* Fix issue where low traffic prevents timely detection and refresh of RS when the peer goes offline (#297)
* [maven-release-plugin] prepare release obkv-table-client-1.4.1
* [maven-release-plugin] prepare for next development iteration
* Update README.md
* Fix ob down ls timeout (#299)
* SQLException need to refresh obTable roster
* refresh tablet address after refresh obTable roster
* refresh table roster if obtable is null
* use force renew to update roster
* add log
* update addrExpired after refresh
* Capture exceptions in the refreshIndexInfo and do syncRefreshMetadata (#301)
* Capture exceptions in the refreshIndexInfo and do syncRefreshMetadata
* fix
* fix commonExecute not catch refreshException
* [maven-release-plugin] prepare release obkv-table-client-1.4.2
* [maven-release-plugin] prepare for next development iteration
---------
Co-authored-by: vanson <[email protected]>
Co-authored-by: GroundWu <[email protected]>
Co-authored-by: junye <[email protected]>
Co-authored-by: fan <[email protected]>
Co-authored-by: Ziyu Shi <[email protected]>
thrownewObTableEntryRefreshException("fail to get index info from remote", e, true);
1061
1097
} catch (Exceptione) {
1062
-
thrownewObTableEntryRefreshException(format(
1063
-
"fail to get index info from remote, indexTableName: %s, error message: %s",
1064
-
indexTableName, e.getMessage()), e);
1098
+
if (einstanceofObTableEntryRefreshException) {
1099
+
thrownewObTableEntryRefreshException(format(
1100
+
"fail to get index info from remote, indexTableName: %s, error message: %s", indexTableName, e.getMessage()), e, ((ObTableEntryRefreshException) e).isConnectInactive());
1101
+
} else {
1102
+
thrownewObTableEntryRefreshException(format(
1103
+
"fail to get index info from remote, indexTableName: %s, error message: %s", indexTableName, e.getMessage()), e);
1104
+
}
1065
1105
} finally {
1066
1106
try {
1067
1107
if (null != rs) {
@@ -1079,7 +1119,8 @@ public static ObIndexInfo getIndexInfoFromRemote(ObServerAddr obServerAddr, ObUs
thrownewIllegalArgumentException("ObMySQLDateType can not parseToComparable argument:" + o);
1732
+
}
1733
+
},
1734
+
ObMySQLDateTimeType(53) {
1735
+
/*
1736
+
* Encode.
1737
+
*/
1738
+
@Override
1739
+
publicbyte[] encode(Objectobj) {
1740
+
// Date do not have timezone, when we use getTime, system will recognize it as our system timezone and transform it into UTC Time, which will changed the time.
0 commit comments