-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vlog.go: Fix wrongly maintain the offset of file in memory (#640)
When the write file but may successfully write some part of data but we don's added the offset that we maintain, later successfully write request will get a wrong offset. Add a test when no disk space fail to write and should recover after disk space are free up set file size resource limit to make it write fail like no disk space
- Loading branch information
Showing
2 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters