Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] How to disable redis persistance for cluster mode #10456

Open
sreenivasvp opened this issue Mar 21, 2022 · 3 comments
Open

[QUESTION] How to disable redis persistance for cluster mode #10456

sreenivasvp opened this issue Mar 21, 2022 · 3 comments

Comments

@sreenivasvp
Copy link

Team Redis,

Can you please help on how to disable redis persistance for cluster mode

We are starting redis server with following configuration
***** Redis Configuration details *****

Cluster settings

cluster-node-timeout 60000
cluster-slave-validity-factor 3
cluster-allow-reads-when-down no

Disabled both persistence's [aof and rdb]

appendonly no
save ""

Redis Cluster Mode enabled

cluster-enabled yes

please do not modify values below, pod will dynamically derive

cluster-config-file nodes-redis-5.conf
dir /var/lib/redis

we are not using password to access redis

protected-mode no

Can you please let us know, If following config's disable persistance alltogether??

appendonly no
save ""

@sreenivasvp
Copy link
Author

@oranagra / @madolson
Any inputs on the same please ??

@oranagra
Copy link
Member

@sreenivasvp what makes you think you didn't successfully disable the persistence?
the only thing that doesn't look valid is the lack of password.

maybe an attacker is connecting to your server, and attempts to hack your system by writing fake RDB files to sensitive places on your system...
please try config get save, config get dbfilename, and have a look at your log file for suspicious activity.

@sreenivasvp
Copy link
Author

@oranagra

127.0.0.1:6379> CONFIG GET SAVE

  1. "save"
  2. ""
    127.0.0.1:6379> CONFIG GET appendonly
  3. "appendonly"
  4. "no"

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

No branches or pull requests

2 participants