You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Redis sentinel rewrite option oom-score-adj-values 0 200 800 in the file /etc.redis.con by incorrect 0 200 800
Diff:
@@ -1063,7 +1063,7 @@
# starts. Because typically the initial value is 0, they will often match the
# absolute values.
-oom-score-adj-values 0 200 800
+0 200 800
############################## APPEND ONLY MODE ###############################
After Redis Sentinel is started it is not possible to start Redis server. Logs from /var/log/messages:
Sep 8 13:05:51 beta-redis-cluster-03 systemd: Starting Redis persistent key-value database...
Sep 8 13:05:51 beta-redis-cluster-03 redis-server: *** FATAL CONFIG FILE ERROR (Redis 6.0.7) ***
Sep 8 13:05:51 beta-redis-cluster-03 redis-server: Reading the configuration file, at line 1066
Sep 8 13:05:51 beta-redis-cluster-03 redis-server: >>> '0 200 800'
Sep 8 13:05:51 beta-redis-cluster-03 redis-server: Bad directive or wrong number of arguments
Sep 8 13:05:51 beta-redis-cluster-03 systemd: redis.service: main process exited, code=exited, status=1/FAILURE
Sep 8 13:05:51 beta-redis-cluster-03 systemd: Failed to start Redis persistent key-value database.
Sep 8 13:05:51 beta-redis-cluster-03 systemd: Unit redis.service entered failed state.
Sep 8 13:05:51 beta-redis-cluster-03 systemd: redis.service failed
Aditional information
OS distribution and version
CentOS Linux release 7.8.2003 (Core)
Redis server v=6.0.7 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=2b369386c34cdeb6
# yum info redis
Installed Packages
Name : redis
Arch : x86_64
Version : 6.0.7
Release : 1.el7.remi
Size : 4.0 M
Repo : installed
From repo : remi
Summary : A persistent key-value database
URL : http://redis.io
License : BSD
Steps to reproduce (if any)
Configure Redis Sentinel with any parameters
Start redis-sentinel service
Restart redis service
100% reproduced.
The text was updated successfully, but these errors were encountered:
ok rsadowski
Upgrade urgency HIGH: Anyone who's using Redis 6.0.7 with Sentinel or
CONFIG REWRITE command is affected and should upgrade ASAP, see #7760.
[redis/redis#7760]
Bug fixes:
* CONFIG REWRITE after setting oom-score-adj-values either via CONFIG SET or
loading it from a config file, will generate a corrupt config file that will
cause Redis to fail to start
* Fix issue with redis-cli --pipe on MacOS
* Fix RESP3 response for HKEYS/HVALS on non-existing key
* Various small bug fixes
Full release notes:
https://github.com/redis/redis/blob/6.0.8/00-RELEASENOTES
Still includes the flawed config files leaving to a bunch of waste of time. Fix that too. What is the fix now? It is not clear.
Comment out 'oom-score-adj no' ?
*** FATAL CONFIG FILE ERROR (Redis 6.0.6) ***
Reading the configuration file, at line 1062
'oom-score-adj no'
Bad directive or wrong number of arguments
j@j-server-101:/c/configuration/redis/6/server
Crash report
Redis sentinel rewrite option
oom-score-adj-values 0 200 800
in the file /etc.redis.con by incorrect0 200 800
Diff:
After Redis Sentinel is started it is not possible to start Redis server. Logs from /var/log/messages:
Aditional information
100% reproduced.
The text was updated successfully, but these errors were encountered: