Skip to content

Conversation

@hendrikmuhs
Copy link
Contributor

adds support to retrieve a compressed version of the msgpacked value. If values are stored compressed directly uses the stored/compressed value.

@hendrikmuhs hendrikmuhs marked this pull request as ready for review March 28, 2025 09:24
@hendrikmuhs hendrikmuhs force-pushed the getmsgpackedvalue-compressed branch from 1e47f94 to f90462c Compare March 30, 2025 18:41
Copy link
Contributor

@gmossessian gmossessian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't really check the c++ code very carefully but left some questions. feel free to ping on slack :)


std::string GetValueAsString(uint64_t fsa_value) const override { return ""; }

std::string GetRawValueAsString(uint64_t fsa_value) const override { return "\x00\xc0"; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just curious, what is \x00\xc0? both here and \xc0 below.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, wish there were a msgpack::nil constant or something but oh well. resolving.

@hendrikmuhs
Copy link
Contributor Author

I made a workaround for the boost issue on mac by downgrading the version. The newest version on homebrew has an incompatible change in boost. This should be fixed in a separate PR.

@hendrikmuhs hendrikmuhs merged commit 0ccaf40 into KeyviDev:master Apr 28, 2025
17 checks passed
hendrikmuhs added a commit that referenced this pull request Oct 25, 2025
restore backwards compatibility in string value store

fixes #333
relates #327
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.

2 participants