HappenLee commented on code in PR #50863:
URL: https://github.com/apache/doris/pull/50863#discussion_r2094809863
##########
fe/fe-core/src/main/java/org/apache/doris/dictionary/DictionaryManager.java:
##########
@@ -438,6 +438,12 @@ public void dataLoad(ConnectContext ctx, Dictionary
dictionary, boolean adaptive
if (ctx.getState().getErrorCode() != null &&
ctx.getState().getErrorMessage() != null) {
dictionary.trySetStatus(oldStatus);
dictionary.setLastUpdateResult(ctx.getState().getErrorMessage());
+ // for must failed refresh, we can skip it at next time. this mark
is tricky but we have to do now.
+ if
(ctx.getState().getErrorMessage().contains("[INVALID_DICT_MARK]")) {
+ LOG.warn("Dictionary {} load failed with src version {}, mark
it invalid", dictionary.getName(),
+
ctx.getStatementContext().getDictionaryUsedSrcVersion());
+
dictionary.updateLatestInvalidVersion(ctx.getStatementContext().getDictionaryUsedSrcVersion());
Review Comment:
the `tDictionaryUsedSrcVersion` is table `version`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]