Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phase out the use of WSREP_KEY_SHARED type of keys #227

Open
ayurchen opened this issue Apr 6, 2024 · 0 comments
Open

Phase out the use of WSREP_KEY_SHARED type of keys #227

ayurchen opened this issue Apr 6, 2024 · 0 comments
Assignees

Comments

@ayurchen
Copy link
Member

ayurchen commented Apr 6, 2024

SHARED keys have poor semantics and REFERENCE keys should be used instead. SHARED keys must be only recognized for backward compatibility.

@ayurchen ayurchen self-assigned this Apr 6, 2024
ayurchen added a commit that referenced this issue Apr 6, 2024
…_REfERENCE

(but keep support for it for backward compatibility)
The only place where wsrep-lib made use of WSREP_KEY_SHARED is
wsrep::append_sr_keys_for_commit() which is used only with protocols >= 4
so we don't need to worry about the protocol version and just change
wsrep::key::shared to wsrep::key::reference.

Refs #227
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

No branches or pull requests

1 participant