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

Add production rules for dataset byte streams #56

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

ghost
Copy link

@ghost ghost commented Feb 11, 2017

This is my proposal to start a discussion...

Few explanations:

  1. Because storage layout information is available somewhere else I did not make a distinction between byte streams of a chunked dataset vs. a single byte stream of a contiguous dataset. The byteStreams key will always hold an array of byte stream information.

  2. For the same reason, each byte stream information will have its location in the dataset's dataspace as dspace_anchor key. For contiguous datasets, its value will always be [0, 0, ...].

  3. Checksum information has two keys: type (MD5, SHA1, a URI, etc.) and value. The type information is repeated for every byte stream but I wanted to allow having byte stream checksums of different types.

  4. Checksum value's spec describes it simply as an ASCII string without the slash but we may want to be more accurate here.

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

Successfully merging this pull request may close these issues.

1 participant