Skip to content

[BUG] sentinel option gone #11586

@max06

Description

@max06

Describe the bug
starting a sentinel using redis-server /path/to/sentinel.conf --sentinel fails.

To reproduce

root@d675e5f73c51:/data# touch /etc/redis/sentinel.conf
root@d675e5f73c51:/data# redis-sentinel /etc/redis/sentinel.conf --sentinel --bind 127.0.0.1 --port 26379 --dir "/data"
--sentinel announce-ip 127.0.0.1

*** FATAL CONFIG FILE ERROR (Redis 7.0.5) ***
Reading the configuration file, at line 2
>>> 'sentinel "--bind" "127.0.0.1"'
Unrecognized sentinel configuration statement.

Expected behavior
--sentinel should continue to work as before.

Additional information
Worked in 6.x, doesn't work in redis:7.0.5 docker image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions