Skip to content

Remove support for external dict while still supporting external sds#302

Merged
zuiderkwast merged 3 commits intovalkey-io:mainfrom
zuiderkwast:no-ext-dict
Apr 16, 2026
Merged

Remove support for external dict while still supporting external sds#302
zuiderkwast merged 3 commits intovalkey-io:mainfrom
zuiderkwast:no-ext-dict

Conversation

@zuiderkwast
Copy link
Copy Markdown
Collaborator

@zuiderkwast zuiderkwast commented Apr 16, 2026

These two appeared independent, but because they both set include paths, they couldn't be used independently. Instead of fixing that, we just remove the support for using external dict.

The reason is that valkey (where libvalkey is vendored and uses external components from valkey's counterparts) has changed the dict implementation so that the API is no longer compatible, but there are no symbol collisions either, so it's fine for libvalkey to use its own dict.

Extracted from
valkey-io/valkey@fb655db

These two appeared independent, but because they both set include paths,
they couldn't be used independently. Instead of fixing that, we just
remove the support for using external dict.

The reason is that valkey (where libvalkey is vendored and uses external
components from valkey's counterpats) has changed the dict implementation
so that the API is no longer compatible, but there are no symbol collisions
either, so it's fine for libvalkey to use its own dict.

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
@zuiderkwast zuiderkwast requested a review from bjosv April 16, 2026 09:03
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Comment thread Makefile Outdated
Co-authored-by: Björn Svensson <bjorn.a.svensson@est.tech>
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Copy link
Copy Markdown
Collaborator

@bjosv bjosv left a comment

Choose a reason for hiding this comment

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

Nice!

@zuiderkwast zuiderkwast merged commit e4b548b into valkey-io:main Apr 16, 2026
48 checks passed
@zuiderkwast zuiderkwast deleted the no-ext-dict branch April 16, 2026 12:22
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