Skip to content

Ensure backwards-compatibility for bincode-serialized data #208

@badboy

Description

@badboy

As the "safe-mode" storage uses bincode to serialize the data into a file on disk, there should be some tests that this won't break.
rkv needs to be able to load data written with previous versions. bincode doesn't necessarily guarantee that (though to my knowledge they haven't broken it either).

Some tests could be useful.
Write some data into a file, then use that file's data in a test (either load it or embed it directly) and check that it can be loaded and contains the expected data. Dependency updates shouldn't break that test then.

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