Skip to content

Skyhook clobbers binary data #13

@shanipribadi

Description

@shanipribadi

Skyhook stores values as Aerospike StringValue, using
ByteArray.toString(Charsets.UTF_8)

This causes binary data to be clobbered/corrupted when stored and read again.

I propose to store them as BytesValue instead, so that no conversion is done and data is stored as is.

this aligns with the specification of redis "string" as binary safe
https://redis.io/topics/data-types

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