Skip to content

Commit

Permalink
fix the problem of not stopping a failed flush correctly (#4187)
Browse files Browse the repository at this point in the history
close #4185
  • Loading branch information
lidezhu authored Mar 7, 2022
1 parent acae5c1 commit 4d8a1be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dbms/src/Storages/DeltaMerge/Delta/DeltaValueSpace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ bool DeltaValueSpace::flush(DMContext & context)
{
wbs.rollbackWrittenLogAndData();
LOG_FMT_DEBUG(log, "{} Stop flush because structure got updated", simpleInfo());
return false;
}

/// Update delta tree
Expand Down

0 comments on commit 4d8a1be

Please sign in to comment.