[enhance](mtmv)add version and version time for table (#30437)

Add version to record data changes in the table

Scope of impact: 

- Transaction related operations
- drop partition
- replace partition
This commit is contained in:
zhangdong
2024-01-29 14:59:17 +08:00
committed by yiguolei
parent db094da081
commit 3354ac48f7
15 changed files with 257 additions and 36 deletions

View File

@ -76,9 +76,11 @@ public final class FeMetaVersion {
public static final int VERSION_127 = 127;
// For statistics. Update rows, new partition loaded, AnalysisJobInfo and AnalysisTaskInfo
public static final int VERSION_128 = 128;
// For table version
public static final int VERSION_129 = 129;
// note: when increment meta version, should assign the latest version to VERSION_CURRENT
public static final int VERSION_CURRENT = VERSION_128;
public static final int VERSION_CURRENT = VERSION_129;
// all logs meta version should >= the minimum version, so that we could remove many if clause, for example
// if (FE_METAVERSION < VERSION_94) ...