Skip to content

crucible: shouldn't start scrub before activating volume #1078

@iximeow

Description

@iximeow

in block/crucible.rs we kick off a scrub of the volume. the scrub code asks a reasonable question: XXX Can we assert the volume is activated?

well. not really. propolis kicks off the scrub and then activates the volume a little later in Backend::start. it seems like the scrub works by the good graces of the 120s start delay that Propolis provides.

in practice there's no reason to have a propolis-server sitting ready but with backends not started for two minutes, so we don't hit this. but it's not really.... right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that isn't working.storageRelated to storage devices/backends.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions