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

Remove mentions and workarounds for older Redis versions #8

Merged
merged 8 commits into from
May 29, 2024

Conversation

mkmkme
Copy link
Collaborator

@mkmkme mkmkme commented May 28, 2024

Pull Request check-list

  • Do tests and lints pass with this change?
  • Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Is there an example added to the examples folder (if applicable)?
  • Was the change added to CHANGES file?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.

Description of change

This batch removes the mentions and workarounds for older Redis versions.

Hopefully everything has been covered.

Fixes #5.

@mkmkme mkmkme force-pushed the mkmkme/remove-old-valkey branch from fbda826 to 7e077b9 Compare May 28, 2024 10:48
mkmkme added 8 commits May 28, 2024 13:52
`skip_if_server_version_gte` doesn't currently make sense as there's
only one version of Valkey. All the tests that used that decorator
refered to older versions that are not available. We'll keep the
decorator itself for the future.

Signed-off-by: Mikhail Koviazin <[email protected]>
Signed-off-by: Mikhail Koviazin <[email protected]>
Signed-off-by: Mikhail Koviazin <[email protected]>
`NO_AUTH_SET_ERROR` used to be different for Redis < 6.0 and
Redis >= 6.0. It's not applicable for Valkey, hence the obsolete snippet
has been removed.

Additionally, `test_connection_pool` for both sync and async versions
have been fixed since they expected an obsolete string in the logs.

Signed-off-by: Mikhail Koviazin <[email protected]>
@mkmkme mkmkme force-pushed the mkmkme/remove-old-valkey branch from 7e077b9 to ebbc1d4 Compare May 28, 2024 10:52
@aiven-sal aiven-sal merged commit 561edfb into valkey-io:main May 29, 2024
47 checks passed
@mkmkme mkmkme deleted the mkmkme/remove-old-valkey branch June 3, 2024 08:11
aiven-sal added a commit that referenced this pull request Jun 12, 2024
Revert #8 and replace "redis" and "old valkey" with "server"
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.

Remove support for old Redis versions
2 participants