[enhancement](recover) support skipping missing version in select by session variable (#25654)

This commit is contained in:
xy720
2023-11-02 20:01:51 +08:00
committed by GitHub
parent 89cf828f03
commit a5ef90dacc
20 changed files with 147 additions and 78 deletions

View File

@ -1253,20 +1253,6 @@ 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 recover_with_skip_missing_version = "disable";
/**
* Whether to add a delete sign column when create unique table
*/