perf(ecstore): remove owned write sync regression (#3018)

This commit is contained in:
安正超
2026-05-20 06:14:35 +08:00
committed by GitHub
parent 54be3cab23
commit a8a5f25af3
-2
View File
@@ -1180,8 +1180,6 @@ impl LocalDisk {
}
InternalBuf::Owned(buf) => {
f.write_all(buf.as_ref()).await.map_err(to_file_error)?;
// Ensure write errors are observed before returning for owned buffers.
f.sync_all().await.map_err(to_file_error)?;
}
}