Skip to content

Commit

Permalink
fix: binlog reader not released in time (#36078)
Browse files Browse the repository at this point in the history
#36077

Signed-off-by: fengjun2016 <[email protected]>
  • Loading branch information
fengjun2016 authored Sep 7, 2024
1 parent 9a8ed9a commit 62f4a6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/storage/data_codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ func (insertCodec *InsertCodec) DeserializeInto(fieldBinlogs []*Blob, rowNum int
for {
eventReader, err := binlogReader.NextEventReader()
if err != nil {
binlogReader.Close()
return InvalidUniqueID, InvalidUniqueID, InvalidUniqueID, err
}
if eventReader == nil {
Expand Down

0 comments on commit 62f4a6a

Please sign in to comment.