Skip to content

Commit

Permalink
Fix minor compaction after restart (pingcap#6199)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidezhu authored Oct 31, 2022
1 parent b26120e commit 4257621
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dbms/src/Storages/DeltaMerge/Delta/DeltaPack_V3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ void serializeSavedPacks_V3(WriteBuffer & buf, const DeltaPacks & packs)
throw Exception("A data pack without schema: " + pack->toString(), ErrorCodes::LOGICAL_ERROR);

bool save_schema = cur_schema != last_schema;
last_schema = cur_schema;
pack->serializeMetadata(buf, save_schema);
break;
}
Expand Down

0 comments on commit 4257621

Please sign in to comment.