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

Use a custom prefix instead of a hardcoded serverid for keys #79

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

dutow
Copy link
Collaborator

@dutow dutow commented Nov 30, 2023

With this change, key names no longer contain the hardcoded serverid, but instead use a user specifiable and optional prefix.

With default settings the prefix is empty, and we generate key names in the format of "-". With a non empty prefix set, the format changes to "--".

The test suite is also modified, so that the existing TAP test uses a custom prefix, and the SQL tests use an empty prefix, to test both cases.

With this change, key names no longer contain the hardcoded serverid,
but instead use a user specifiable and optional prefix.

With default settings the prefix is empty, and we generate key names
in the format of "<name>-<version>". With a non empty prefix set,
the format changes to "<prefix>-<name>-<version>".

The test suite is also modified, so that the existing TAP test uses
a custom prefix, and the SQL tests use an empty prefix, to test both
cases.
@dutow dutow merged commit b9cc6db into percona:main Dec 4, 2023
4 checks passed
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