Backport: Fix Valkey version detection

What does this MR do and why?

Describe in detail what merge request is being backported and why

This is a backport for Fix Valkey version detection (!9167 - merged)

We started shipping Valkey in 18.9, we need this to detect Valkey server version correctly.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • This MR is backporting a bug fix, documentation update, or spec fix, previously merged in the default branch.
  • The original MR has been deployed to GitLab.com (not applicable for documentation or spec changes).
  • This MR has a severity label assigned (if applicable).

Note to the merge request author and maintainer

If you have questions about the patch release process, please:

Edited by Lucas Li

Merge request reports

Loading