Skip to content

"datasets ensure" API in sled agent should remove unmatched datasets (eventually) #6177

Open
@smklein

Description

@smklein

#6144 will introduce an API to manage datasets, called dataset_ensure.

Sled agent exposes a few endpoints like this, to "ensure the set of _____ exactly matches a provided configuration". Usually, these endpoints delete entries which don't match the input set.

However, with datasets, since many of our datasets are implicitly created by the sled agent, doing so would be a dangerous operation.

This issue tracks "eventually, we should remove datasets that don't match the expected configuration", once doing so is a safe operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Sled AgentRelated to the Per-Sled Configuration and ManagementstorageRelated to storage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions