You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "yongjinhou (via GitHub)" <gi...@apache.org> on 2023/04/28 02:28:52 UTC

[GitHub] [doris] yongjinhou commented on a diff in pull request #18986: [chore](recover) add a config to recover remaining data in emergency

yongjinhou commented on code in PR #18986:
URL: https://github.com/apache/doris/pull/18986#discussion_r1179871974


##########
fe/fe-common/src/main/java/org/apache/doris/common/Config.java:
##########
@@ -1439,6 +1439,20 @@ public class Config extends ConfigBase {
     @ConfField(mutable = true, masterOnly = true)
     public static boolean recover_with_empty_tablet = false;
 
+    /**
+     * In some scenarios, there is an unrecoverable metadata problem in the cluster,
+     * and the visibleVersion of the data does not match be. In this case, it is still
+     * necessary to restore the remaining data (which may cause problems with the correctness of the data).
+     * This configuration is the same as` recover_with_empty_tablet` should only be used in emergency situations
+     * This configuration has three values:
+     *   disable : If an exception occurs, an error will be reported normally.
+     *   ignore_version: ignore the visibleVersion information recorded in fe partition, use replica version
+     *   ignore_all: In addition to ignore_version, when encountering no queryable replica,
+     *   skip it directly instead of throwing an exception
+     */
+    @ConfField(mutable = true, masterOnly = true)
+    public static String revover_with_skip_missing_version = "disable";

Review Comment:
   revover -> recover ???



-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org