mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
also remove Sync() for idx file
This commit is contained in:
parent
52580743b9
commit
06a8b174b5
|
@ -317,9 +317,6 @@ func (v *Volume) makeupDiff(newDatFileName, newIdxFileName, oldDatFileName, oldI
|
|||
if err != nil {
|
||||
return fmt.Errorf("cannot write indexfile %s: %v", newIdxFileName, err)
|
||||
}
|
||||
if err := idx.Sync(); err != nil {
|
||||
return fmt.Errorf("cannot sync indexfile %s: %v", newIdxFileName, err)
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue