Skip to content

Conversation

@q0ntinuum
Copy link
Contributor

Description

Fix Redis Sentinel support by fixing names and adding the password for the redis access alongside the password for sentinel.

Related issues

#7364

Has this been tested?

Directly changed the files in production

Copy link
Owner

@Chocobozzz Chocobozzz left a comment

Choose a reason for hiding this comment

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

Thank you for the PR!

connectionName,
connectTimeout,
enableTLSForSentinelMode: CONFIG.REDIS.SENTINEL.ENABLE_TLS,
sentinelPassword: CONFIG.REDIS.AUTH,
Copy link
Owner

Choose a reason for hiding this comment

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

I think the admin should provide the password for each sentinel no? Because you can set a specific password for each of them?

Copy link
Contributor Author

@q0ntinuum q0ntinuum Jan 2, 2026

Choose a reason for hiding this comment

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

Using different password for each sentinel isn't recommended (from High availability with Valkey Sentinel (and redis has the exact same page which I guess Valkey copied)):

This means that you will have to configure the same requirepass password in all the Sentinel instances. This way every Sentinel can talk with every other Sentinel without any need to configure for each Sentinel the password to access all the other Sentinels, that would be very impractical.

But what could be interesting is providing a different password for sentinel and for redis.
I guess I can make somthing like config.redis.auth is used to connect to redis servers and add a new parameter config.redis.sentinel.auth used for sentinel connections.

Copy link
Owner

@Chocobozzz Chocobozzz Jan 2, 2026

Choose a reason for hiding this comment

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

Yes please! Prefer config.redis.sentinel.password (we'll rename config.redis.auth to config.redis.password in the future)

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