-
Notifications
You must be signed in to change notification settings - Fork 468
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
Memory issue of kvrocks2redis detected by ASan/TSan #2195
Comments
Thank you @Zakelly ! |
@jihuayu Sure thing. Log attached. |
IMHO we should spend some time on investigating this issue and find a solution before next release. cc @git-hulk |
@PragmaTwice I may take some time to investigate this after resolving #2253, and it'd be great if other guys would like to dive deep into this issue. |
I think this issue is related to #1988 which makes kvrocks2redis crash. |
@git-hulk |
@AntiTopQuark Not yet, thank you! |
@Zakelly Hi, I've investigated this issue and successfully reproduced it on my computer. I suspect it's not a memory issue, but rather that compiling with ASAN and TSAN significantly impacts the performance of And a simple As shown in the diagram below, although the test failed, the corresponding keys and values can still be found in Redis afterward. Or we can try to make the test script sleep longer? |
cc @git-hulk |
@AntiTopQuark Thanks for your great investigation. Can we relax the check condition? like check it N times with a fixed interval and return once it's passed. cc @PragmaTwice What do you think? |
Yeah we can adjust |
Happy to see the great investigation! Thanks @AntiTopQuark |
Search before asking
Motivation
Currently, the Kvrocks2redis CI fails with TSAN/ASAN or in macos env. An example for this: https://github.com/Zakelly/kvrocks/actions/runs/8344973371/job/22838786340
The value mismatch in destination redis server. More investigation is needed.
Solution
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: