-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Labels
Description
Write doesn't sync to disk so a crash can corrupt data. One example of this is here:
Lines 19 to 25 in 4bc2c99
| func (h *headerStore) appendRaw(header []byte) error { | |
| if _, err := h.file.Write(header); err != nil { | |
| return err | |
| } | |
| return nil | |
| } |
I forget if there are other call-sites