Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Increase minimum supported redis version from 5.0 -> 6.2#52248

Merged
willdollman merged 3 commits into
mainfrom
will/update-min-redis-version
May 23, 2023
Merged

Increase minimum supported redis version from 5.0 -> 6.2#52248
willdollman merged 3 commits into
mainfrom
will/update-min-redis-version

Conversation

@willdollman

@willdollman willdollman commented May 22, 2023

Copy link
Copy Markdown
Contributor

We currently don't use any 7.0 features, but the move to Wolfi will include a switch to Redis 7.0 so all future development will be tested against that version.

Initially we had planned to updated Redis to 7.0, but GCS Memorystore for Redis only supports up to 6.2. As a result, we're only upgrading to Redis 6.2.

Test plan

  • Docs update - will manually check docs deploy correctly
  • Manual testing of updated redis images

@cla-bot cla-bot Bot added the cla-signed label May 22, 2023
@sourcegraph-bot

sourcegraph-bot commented May 22, 2023

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff 15db831...8cdd6d5.

Notify File(s)
@sourcegraph/delivery doc/admin/external_services/redis.md

@willdollman willdollman requested a review from keegancsmith May 22, 2023 14:55

@keegancsmith keegancsmith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Please document this in the changelog as well.

Are all the hosted redis providers (eg aws) on 7 yet? I see it was only released a year ago, so just making sure we aren't potentially causing an issue here.

also cc @sourcegraph/delivery

@willdollman

Copy link
Copy Markdown
Contributor Author

Good catch - AWS ElastiCache supports Redis 7 but GCS Memorystore for Redis only supports up to 6.2.

While we could ship Redis 7 and take care not to add any v7-specific features, the better option is going to be switching to Wolfi's Redis 6.2 package and setting 6.2 as our minimum supported version. This will still be fully patched, but ensures we can't accidentally ship v7 features.

@willdollman willdollman changed the title Increase minimum supported redis version from 5.0 -> 7.0 Increase minimum supported redis version from 5.0 -> 6.2 May 23, 2023
@willdollman willdollman enabled auto-merge (squash) May 23, 2023 12:43
@willdollman willdollman merged commit d03881a into main May 23, 2023
@willdollman willdollman deleted the will/update-min-redis-version branch May 23, 2023 12:46

@keegancsmith keegancsmith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

neat how easy that was to change for wolfi. nice stuff.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants