Replies: 1 comment 4 replies
-
good question, I don't know the answer but maybe @jhamman does |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Zarr v2 took care in DirectoryStore to use atomic writes by renaming files into place, which ensures that writes to disk are either complete or not written at all:
zarr-python/zarr/storage.py
Lines 1146 to 1161 in f1978dd
I don't see any similar logic in Zarr v3, which just seems to using Python's file interface (via
open
):zarr-python/src/zarr/storage/_local.py
Lines 52 to 55 in c9509ee
Was this an intentional omission? I am concerned about files potentially ending up partially written due to interrupted writes.
Beta Was this translation helpful? Give feedback.
All reactions