Skip to content

go/worker: Move storage initialization and registration to node initialization #6504

@martintomazic

Description

@martintomazic

Client worker should not care about storage kind (see).

Instead storage should be initialized during node initialization, and passed to client and (storage) workers explicitly. (Or via runtime.Runtime.GetStorage).

Method runtime.Runtime.RegisterStorage should be removed which reduces complexity, worker coupling and is step towards testable workers.

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