Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing messages fixes #1007

Merged
merged 5 commits into from
Aug 30, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix output file chunks sizes
Should reset file chunk size only when we doing final file close
  • Loading branch information
buger committed Aug 30, 2021
commit ad65c854b7bf0e19ee81523c6d1f4d2778dff87c
3 changes: 2 additions & 1 deletion output_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ func (o *FileOutput) filename() string {

if nextChunk {
fileIndex++
o.currentFileSize = 0
}
}

Expand Down Expand Up @@ -309,6 +308,8 @@ func (o *FileOutput) closeLocked() error {
}

o.closed = true
o.currentFileSize = 0

return nil
}

Expand Down