Skip to content

Commit

Permalink
BugFix: Fix FE meta compatibility issue (StarRocks#30418)
Browse files Browse the repository at this point in the history
This pr(StarRocks#26246) add new property `maxColumnUniqueId` in `OlapTable` and we change the log serialize/deserialize format to json in latest branch, so we don't need to serialize/deserialize by manual.

Signed-off-by: zhangqiang <qiangzh95@gmail.com>
  • Loading branch information
sevev authored Sep 5, 2023
1 parent bfbc4d5 commit 368859f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fe/fe-core/src/main/java/com/starrocks/catalog/OlapTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -1682,7 +1682,6 @@ public void write(DataOutput out) throws IOException {
tableProperty.write(out);
}
tempPartitions.write(out);
out.writeInt(maxColUniqueId);
}

@Override
Expand Down Expand Up @@ -1783,7 +1782,6 @@ public void readFields(DataInput in) throws IOException {
}
tempPartitions.unsetPartitionInfo();

maxColUniqueId = in.readInt();
// In the present, the fullSchema could be rebuilt by schema change while the
// properties is changed by MV.
// After that, some properties of fullSchema and nameToColumn may be not same as
Expand Down

0 comments on commit 368859f

Please sign in to comment.