Skip to content

Explicitly listing groups/arrays inside group metadata? #284

@shoyer

Description

@shoyer

I'm curious if explicitly listing groups/arrays inside group metadata has been discussed before.

The downside is that this is redundant and potentially duplicate information (but in some sense so is all group metadata, see "implicit groups").

One advantage would be that this would eliminates the need to list the contents of a store and check for the existence of metadata objects, which can sometimes be rather expensive. It's kind of a half-way step to the consolidated metadata of Zarr v2.

It's also potentially useful for making group creation/modification atomic without race conditions like zarr-developers/zarr-python#1435, because the canonical list of a group's contents is a single metadata file rather than a collection of sub-directories, which usually cannot be modied in an atomic fashion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions