Skip to content

rechunker: Support recursively associating a directory with a component #5443

@ckyrouac

Description

@ckyrouac

Spawned from this comment


Unrelated to this specific line but just looking at this...I think the 95% case here is that people will want this to operate recursively, right?

A nice way to do this is to make it supported to set user.component on a directory to mean applying to all of its children or so. And here debate whether that's including directory children i.e. recursive or not. If it is recursive we'd probably need an opt-out (setting the xattr to the empty string?)

Hmm and now that I look/think about this slightly more I guess the challenge is that the whole codebase leading up to this is object-based and isn't operating on the directory tree.

But in theory we could (while traversing to build up the object set) add this mapping if we detect the parent directory has it set.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions