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

[BUG]If "appendonly yes" in the cluster, the full sync occurs after the replica reboot #13175

Open
jianggj opened this issue Mar 28, 2024 · 0 comments

Comments

@jianggj
Copy link

jianggj commented Mar 28, 2024

When creating a cluster, #this web says that "appendonly yes" is one of the minimum configurations.

When the cluster uses the minimum configurations, after the replica rebooting ,the full sync occurs whether or not new data exists in the master.
But If appendonly is no and RDB is enabled, PSYNC can be allowed.Is it a issue?

Moreover,if appendonly is no,the cluster will also be created without problems and can read and write data normally.
So why "appendonly yes" is a minimum configurations?

my redis version: 7.2.3
the minimum configurations:

  • port 7000
  • cluster-enabled yes
  • cluster-config-file nodes.conf
  • cluster-node-timeout 5000
  • appendonly yes

other configurations(by default):

  • repl-diskless-sync yes
  • RDB enable(save 3600 1 300 100 60 10000)
  • aof-use-rdb-preamble yes
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

1 participant