Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Race condition in ChunksToZarr when template is not supplied explicitly as an xarray.Dataset

Open
#85 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start by locating the ChunkToZarr implementation and tracing how the template is written when no explicit xarray.Dataset is supplied. Review the linked zarr-python issue and reproduce concurrent worker writes if possible; done means concurrent execution no longer produces invalid Zarr files.

Written by the indexing model from the issue text.

Description

bug

Due to https://github.com/zarr-developers/zarr-python/issues/1435, ChunkToZarr can result in invalid Zarr files if the template is written simultaneously from different workers.

Dominant language
Python
Stars
170
Forks
15
Avg merge
18h 27m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from google/xarray-beam

All issues in google/xarray-beam

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.