Skip to content

Commit ee3eca5

Browse files
Document bugfix changes
1 parent 6741a0d commit ee3eca5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

changes/3140.bugfix.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Suppress `FileNotFoundError` when deleting non-existent keys in the `obstore` adapter.
2+
3+
When writing empty chunks (i.e. chunks where all values are equal to the array's fill value) to a zarr array, zarr
4+
will delete those chunks from the underlying store. For zarr arrays backed by the `obstore` adapter, this will potentially
5+
raise a `FileNotFoundError` if the chunk doesn't already exist.
6+
Since whether or not a delete of a non-existing object raises an error depends on the behavior of the underlying store,
7+
suppressing the error in all cases results in consistent behavior across stores, and is also what `zarr` seems to expect
8+
from the store.

0 commit comments

Comments
 (0)