Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed Jun 20, 2024
1 parent 1f23d84 commit 9a9c371
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public boolean compatibleWith(BackupMeta other) {
}

public static BackupMeta read(DataInput in) throws IOException {
if (Env.getCurrentEnvJournalVersion() < FeMetaVersion.VERSION_136) {
if (Env.getCurrentEnvJournalVersion() < FeMetaVersion.VERSION_135) {
BackupMeta backupMeta = new BackupMeta();
backupMeta.readFields(in);
return backupMeta;
Expand All @@ -127,7 +127,7 @@ public static BackupMeta read(DataInput in) throws IOException {
// We can not change, because backup meta stored in external storage
@Override
public void write(DataOutput out) throws IOException {
if (Env.getCurrentEnvJournalVersion() < FeMetaVersion.VERSION_136) {
if (Env.getCurrentEnvJournalVersion() < FeMetaVersion.VERSION_135) {
out.writeInt(tblNameMap.size());
for (Table table : tblNameMap.values()) {
table.write(out);
Expand Down

0 comments on commit 9a9c371

Please sign in to comment.