Patch for concurrent iterator & others (onto v1.11.6) #386

Closed
roysc wants to merge 1565 commits from v1.11.6-statediff-v5 into master
Showing only changes of commit 3b38a83274 - Show all commits

View File

@ -90,7 +90,7 @@ func (bloom *stateBloom) Commit(filename, tempname string) error {
return err return err
} }
// Ensure the file is synced to disk // Ensure the file is synced to disk
f, err := os.Open(tempname) f, err := os.OpenFile(tempname, os.O_RDWR, 0666)
if err != nil { if err != nil {
return err return err
} }