Skip to content

Modify nested detection loop - #1

Merged
joshmoore merged 1 commit into
joshmoore:nestedfrom
kkoz:nested-loop-fix
Apr 20, 2021
Merged

joshmoore merged 1 commit into
joshmoore:nestedfrom
kkoz:nested-loop-fix

Conversation

@kkoz

@kkoz kkoz commented Apr 20, 2021

Copy link
Copy Markdown

The loop which attempts to determine whether a zarr file is nested or not appears to loop through all chunks even after determining the "nestedness". This has caused some timout issues for us. This modified version exits once a nested or not nested chunk is found, and has also re-ordered some of the logic.

@joshmoore

Copy link
Copy Markdown
Owner

Changes look good and reduce duplicates.

Repeating here what I mentioned to @kkoz: zarr-developers/zarr-python#715 looks to be on a trajectory to remove this heuristic.

@joshmoore
joshmoore merged commit f41cbbd into joshmoore:nested Apr 20, 2021
joshmoore added a commit that referenced this pull request May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants