Skip to content

Commit

Permalink
Fix panic when reading and writing s.writer concurrently (juicedata#4710
Browse files Browse the repository at this point in the history
)

Signed-off-by: Changxin Miao <[email protected]>
Co-authored-by: Davies Liu <[email protected]>
  • Loading branch information
polyrabbit and davies authored Apr 17, 2024
1 parent 3f65f05 commit 41b93ee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/vfs/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ func (s *sliceWriter) flushData() {
s.writer.Abort()
s.err = syscall.EIO
}
s.writer = nil
}

// protected by s.chunk.file
Expand Down

0 comments on commit 41b93ee

Please sign in to comment.