diff --git a/store/src/types.rs b/store/src/types.rs index 64d6c1494..97b5da487 100644 --- a/store/src/types.rs +++ b/store/src/types.rs @@ -178,7 +178,7 @@ impl AppendOnlyFile { } self.buffer_start += self.buffer.len(); - self.file.write(&self.buffer[..])?; + self.file.write_all(&self.buffer[..])?; self.file.sync_all()?; self.buffer = vec![];