- Bug Fixes - Core * Fix typo in REGISTER_API macro to prevent segfaults when loading Redis modules (#608) * Fix the command duration reset issue when clients are blocked and commands are reprocessed (#526) * Fix the data type conversion error in zrangeResultBeginStore (Redis#13148) * Fix a crash caused by quicklist node merges (Redis#13040) * Fix crashes in module blocking client timeout cases (Redis#13011) * Fix conversion of numbers in Lua args to Redis args (Redis#13115, Fixes Redis#13113) * Fix crash in LSET command when replacing small list items with larger ones, creating listpacks larger than 4GB (Redis#12955, Fixes Redis#12864) * Fix blocking command timeout reset issue during reprocessing (Redis#13004) - Bug Fixes - Cluster * Fix the CLUSTER SHARDS command to display accurate slot information even if a primary node fails (#790, Fixes #784) * Fix an issue where module authentication failed when the cluster was down (#693, Fixes #619) * Ensure only primary nodes with slots can mark another node as failed (#634) * Improve MEET command reliability under link failures to maintain cluster membership symmetry (#461) * Allow single primary node to mark potentially failed replica as FAIL in single-shard cluster (Redis#12824) - Bug Fixes - Sentinel * Accept redis-sentinel to start Valkey in sentinel mode (#731, Fixes #719) - Bug Fixes - CLI * Ensure the --count option in redis-cli works correctly even without --pattern (Redis#13092) * Fix redis-check-aof misidentifying data in manifest format as MP-AOF OBS-URL: https://build.opensuse.org/package/show/server:database/valkey?expand=0&rev=13
69 lines
2.4 KiB
Diff
69 lines
2.4 KiB
Diff
diff --git a/sentinel.conf b/sentinel.conf
|
|
index 36a21e933..dede86bcd 100644
|
|
--- a/sentinel.conf
|
|
+++ b/sentinel.conf
|
|
@@ -13,11 +13,12 @@ port 26379
|
|
# Note that Valkey will write a pid file in /var/run/valkey-sentinel.pid when
|
|
# daemonized.
|
|
daemonize no
|
|
+supervised systemd
|
|
|
|
# When running daemonized, Valkey Sentinel writes a pid file in
|
|
# /var/run/valkey-sentinel.pid by default. You can specify a custom pid file
|
|
# location here.
|
|
-pidfile /var/run/valkey-sentinel.pid
|
|
+pidfile /run/valkey/sentinel-default.pid
|
|
|
|
# Specify the server verbosity level.
|
|
# This can be one of:
|
|
@@ -31,7 +32,7 @@ loglevel notice
|
|
# Specify the log file name. Also the empty string can be used to force
|
|
# Sentinel to log on the standard output. Note that if you use standard
|
|
# output for logging but daemonize, logs will be sent to /dev/null
|
|
-logfile ""
|
|
+logfile /var/log/valkey/sentinel-default.log
|
|
|
|
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
|
|
# and optionally update the other syslog parameters to suit your needs.
|
|
diff --git a/valkey.conf b/valkey.conf
|
|
index 95fb8d0f1..6b520454c 100644
|
|
--- a/valkey.conf
|
|
+++ b/valkey.conf
|
|
@@ -321,7 +321,7 @@ daemonize no
|
|
# The default is "no". To run under upstart/systemd, you can simply uncomment
|
|
# the line below:
|
|
#
|
|
-# supervised auto
|
|
+supervised systemd
|
|
|
|
# If a pid file is specified, the server writes it where specified at startup
|
|
# and removes it at exit.
|
|
@@ -335,7 +335,7 @@ daemonize no
|
|
#
|
|
# Note that on modern Linux systems "/run/valkey.pid" is more conforming
|
|
# and should be used instead.
|
|
-pidfile /var/run/valkey_6379.pid
|
|
+pidfile /run/valkey/default.pid
|
|
|
|
# Specify the server verbosity level.
|
|
# This can be one of:
|
|
@@ -349,7 +349,8 @@ loglevel notice
|
|
# Specify the log file name. Also the empty string can be used to force
|
|
# the server to log on the standard output. Note that if you use standard
|
|
# output for logging but daemonize, logs will be sent to /dev/null
|
|
-logfile ""
|
|
+# logfile ""
|
|
+logfile /var/log/valkey/default.log
|
|
|
|
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
|
|
# and optionally update the other syslog parameters to suit your needs.
|
|
@@ -504,7 +505,7 @@ rdb-del-sync-files no
|
|
# The Append Only File will also be created inside this directory.
|
|
#
|
|
# Note that you must specify a directory here, not a file name.
|
|
-dir ./
|
|
+dir /var/lib/valkey/default/
|
|
|
|
################################# REPLICATION #################################
|
|
|