Skip to content

Commit

Permalink
bug fix merge apply diff closed on error channel
Browse files Browse the repository at this point in the history
  • Loading branch information
nopcoder committed Dec 6, 2020
1 parent e88f3c7 commit 17d001b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion catalog/mvcc/cataloger_merge.go
Expand Up @@ -128,7 +128,9 @@ func (c *cataloger) doMerge(ctx context.Context, tx db.Tx, params doDiffParams,
}
}
case err := <-errChan:
return rowsCounter, err
if err != nil {
return rowsCounter, err
}
}
}
}
Expand Down

0 comments on commit 17d001b

Please sign in to comment.