Skip to content

Support for redis v7 (via go-redis upgrade) #24113

Closed
@pat-s

Description

@pat-s

Feature Description

Redis v7 seems to require go-redis >= 9.0 as this version includes some important redis 7.0 fixes.

One of them is redis/go-redis#2110, which adds support for a connection string change in redis 7.0 which prevents from connection to redis-cluster instances of >= 7.0.

gitea 2023/04/13 20:00:47 routers/init.go:61:mustInit() [F] code.gitea.io/gitea/modules/cache.NewContext failed: got 4 elements in cluster info address, expected 2 or 3

The corresponding issue is redis/go-redis#2085 which then links to the PR mentioned above.
The current version in use is v8.11.5: https://github.com/go-gitea/gitea/blob/main/go.mod#L47

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/buildPR changes how Gitea is built, i.e. regarding Docker or the Makefiletype/upstreamThis is an issue in one of Gitea's dependencies and should be reported there

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions