From dafce8bf02e48a9ad74ab76868a7381f32fdbb41 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Fri, 13 Oct 2023 14:59:22 +0800 Subject: [PATCH] CONFIG SET replica-read-only no --- debbuild/22.04/usr/local/db/bin/conf/default/redis.conf | 2 +- debbuild/usr/local/db/bin/conf/default/redis.conf | 2 +- rpmbuild/BUILD/usr/local/db/bin/conf/default/redis.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debbuild/22.04/usr/local/db/bin/conf/default/redis.conf b/debbuild/22.04/usr/local/db/bin/conf/default/redis.conf index 96c65aa..450622d 100644 --- a/debbuild/22.04/usr/local/db/bin/conf/default/redis.conf +++ b/debbuild/22.04/usr/local/db/bin/conf/default/redis.conf @@ -321,7 +321,7 @@ replica-serve-stale-data yes # such as CONFIG, DEBUG, and so forth. To a limited extent you can improve # security of read only replicas using 'rename-command' to shadow all the # administrative / dangerous commands. -replica-read-only yes +replica-read-only no # Replication SYNC strategy: disk or socket. # diff --git a/debbuild/usr/local/db/bin/conf/default/redis.conf b/debbuild/usr/local/db/bin/conf/default/redis.conf index 96c65aa..450622d 100644 --- a/debbuild/usr/local/db/bin/conf/default/redis.conf +++ b/debbuild/usr/local/db/bin/conf/default/redis.conf @@ -321,7 +321,7 @@ replica-serve-stale-data yes # such as CONFIG, DEBUG, and so forth. To a limited extent you can improve # security of read only replicas using 'rename-command' to shadow all the # administrative / dangerous commands. -replica-read-only yes +replica-read-only no # Replication SYNC strategy: disk or socket. # diff --git a/rpmbuild/BUILD/usr/local/db/bin/conf/default/redis.conf b/rpmbuild/BUILD/usr/local/db/bin/conf/default/redis.conf index 6a927cc..c503586 100644 --- a/rpmbuild/BUILD/usr/local/db/bin/conf/default/redis.conf +++ b/rpmbuild/BUILD/usr/local/db/bin/conf/default/redis.conf @@ -556,7 +556,7 @@ replica-serve-stale-data yes # such as CONFIG, DEBUG, and so forth. To a limited extent you can improve # security of read only replicas using 'rename-command' to shadow all the # administrative / dangerous commands. -replica-read-only yes +replica-read-only no # Replication SYNC strategy: disk or socket. #