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

Redis cluster will fail to insert large-scale key-values #10944

Open
yingcanw opened this issue Jul 6, 2022 · 2 comments
Open

Redis cluster will fail to insert large-scale key-values #10944

yingcanw opened this issue Jul 6, 2022 · 2 comments

Comments

@yingcanw
Copy link

yingcanw commented Jul 6, 2022

Create a minimal Redis cluster (locally three master nodes on a single machine) completely follow the Redis tutorial. When trying to insert 1.3 billion key-values (about 576 bytes per key-value) into the redis cluster, it will crash.

Since we are simulating the redis cluster based on a single node and each virtual node has the turn on append-only mode, it may crash due to the problem of creating many incremental files in case of repeated failures and retries of an AOF rewrite. Not sure if this is a bug of Redis or an unreasonable cluster configuration.

Crash report

Paste the complete crash log between the quotes below. Please include a few lines from the log preceding the crash report to provide some context.

Additional information

  1. OS distribution and version
    Ubuntu 20.04.4 LTS, two AMDEPYC 7742 CPUs, 2TB of CPU memory
@oranagra
Copy link
Member

oranagra commented Jul 6, 2022

@yingcanw please post the crash report from the log.
since you mention incremental files, i assume you're using redis 7.0?

@xtxxtxxtx
Copy link

Would like to ask why the cluster configuration mode is so configured?
And have any other configuration patterns been tested?

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

3 participants