Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent relation between storage container terms and mapping #100

Open
othermaciej opened this issue Jun 14, 2020 · 2 comments
Open

Comments

@othermaciej
Copy link

On the one hand,

A storage shed is a map of storage keys to storage shelves. (emphasis added) [1]

but:

A storage shelf exists for each storage key within a storage shed. It holds a bucket map, which is a map of strings to storage buckets. (emphasis added) [2]

and:

A storage bucket is a place for storage endpoints to store data. A storage bucket has a bottle map of storage identifiers to storage bottles.(emphasis added) [[3]] (https://storage.spec.whatwg.org/#buckets)

Why is it that a storage shed "is" a map, while a storage shelf "holds" a map, and a storage bucket "has" a map? Storage shelves and storage buckets do not appear to have any other properties besides the map. So this seems inconsistent. Why do "bucket map" and "bottle map" exist as separate concepts at all?

@othermaciej
Copy link
Author

Correcting myself: it seems a storage bucket may additionally have a "mode", if it is a local storage bucket, which might explain the has-a instead of is-a relationship.

Storage shelf is associated with a "storage usage" and a "storage quota", but it's not clear if these are properties of the storage shelf, or associated with it in some external way.

@annevk
Copy link
Member

annevk commented Jun 15, 2020

We might be able to flatten storage shelf, yeah.

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

No branches or pull requests

2 participants