Skip to content

crc32c codec v2 / v3 incompatibility #364

@d-v-b

Description

@d-v-b

the v3 crc32c codec does not take any parameters, but the numcodecs crc32c codec, which is defacto the v2 crc32c codec, takes a location parameter that can be either start or end.

If we want migration from v2 to v3 to be as smooth as possible, we could add a location parameter to the v3 codec along with language stating that a missing location field has the same meaning as {"location": "end"}.

If we don't want to change the v3 spec, I suspect the consequences are not so severe. The numcodecs default for the location parameter is end, which is compatible with the v3 codec. I suspect most data using this codec used the default, but I could be wrong. Code that maps v2 data to v3 will simply error if location is start in the v2 crc32c codec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions