Skip to content

decomposedfs metadata: --node help says "Path to or ID", but only an ID is supported #4110

Backlog

Description

@asaah262

The help of --node of opencloud decomposedfs metadata dump|get|set says "Path to or ID of the node to inspect", but getNode only handles an ID (storagespace.ParseID, then NodeFromID).

Possible fixes

  1. Help text: describe what is accepted, i.e. <spaceid>!<nodeid>, or <spaceid> for the root of a space.
  2. Code: make getNode accept a path too, e.g. a path inside a space (<spaceid>!<nodeid>/<path>) via storagespace.ParseReference and lookup.NodeFromResource.

Details

AI assistance: drafted with Claude Code (claude-opus-5-5), reviewed by me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions