Skip to content

Creation of new volume should require specifying a zone #267

@joonas-fi

Description

@joonas-fi

Right now the zone is implicitly set to default.

Consider you have these volumes right now:

Volume Zone
HDD A Home
HDD B Home
AWS S3 Cloud

Now after provisioning HDD C it would look like this:

Volume Zone Zone (what we meant)
HDD A Home Home
HDD B Home Home
HDD C default Home
AWS S3 Cloud Cloud

We accidentally added 3rd zone, which would incorrectly satisfy this replication policy:

  • Put new data in: HDD B + HDD C
  • Min# of zones: 2

Even though data is really in one zone. This bug has data safety implications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions