[fix](fe-meta) make FE meta be compatible with branch 2.0 (2.0.2.1 or later) (#26048)

In branch 2.0, we changed the read/write method of AnalysisManager,
and rename the image module name to AnalysisMgrV2.
So we need to make the same change in master branch, so that user
can upgrade Doris from branch-2.0 to master branch.

After this PR, user can:

- upgrade from 2.0.x(or branch-2.0) to master
This commit is contained in:
Mingyu Chen
2023-10-29 14:45:21 +08:00
committed by GitHub
parent 501c6096dd
commit 1e5ed91e4d

View File

@ -39,11 +39,11 @@ public class PersistMetaModules {
"globalVariable", "cluster", "broker", "resources", "exportJob", "syncJob", "backupHandler",
"paloAuth", "transactionState", "colocateTableIndex", "routineLoadJobs", "loadJobV2", "smallFiles",
"plugins", "deleteHandler", "sqlBlockRule", "policy", "mtmvJobManager", "globalFunction", "workloadGroups",
"binlogs", "resourceGroups", "AnalysisMgr", "AsyncJobManager", "JobTaskManager");
"binlogs", "resourceGroups", "AnalysisMgrV2", "AsyncJobManager", "JobTaskManager");
// Modules in this list is deprecated and will not be saved in meta file. (also should not be in MODULE_NAMES)
public static final ImmutableList<String> DEPRECATED_MODULE_NAMES = ImmutableList.of(
"loadJob", "cooldownJob");
"loadJob", "cooldownJob", "AnalysisMgr");
static {
MODULES_MAP = Maps.newHashMap();