Comments (12)
@jihuayu Sure thing. Log attached.
logs_21881009491.zip
from kvrocks.
@AntiTopQuark Not yet, thank you!
from kvrocks.
@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?
from kvrocks.
Thank you @Zakelly !
The action log will be deleted by GitHub after some days. Can you download the log file and upload?
from kvrocks.
IMHO we should spend some time on investigating this issue and find a solution before next release. cc @git-hulk
from kvrocks.
@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.
from kvrocks.
@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.
It is important to keep kvrocks2redis usable, without crashing.
from kvrocks.
@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.
@git-hulk
Hi, have you started studying this core? If not I kind of want to try it.
from kvrocks.
@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 kvrocks2redis
. This leads to slower data synchronization in kvrocks2redis
.
And a simple sleep(0.02)
(url) in the check_consistency.py
test script might not give Redis enough time to sync the corresponding results, resulting in execution errors.
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?
from kvrocks.
@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
kvrocks2redis
. This leads to slower data synchronization inkvrocks2redis
.And a simple
sleep(0.02)
(url) in thecheck_consistency.py
test script might not give Redis enough time to sync the corresponding results, resulting in execution errors.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
from kvrocks.
Yeah we can adjust 0.02
to see if it works.
from kvrocks.
Happy to see the great investigation! Thanks @AntiTopQuark
from kvrocks.
Related Issues (20)
- Remove speedb due to it's lack of active in the public repository HOT 6
- Add more tests for stream consumer group HOT 8
- Benchmark for vector indexing and searching HOT 4
- kvrocks During a 10-minute stress test, the master node became unavailable and reported an error. E20240808 16:57:31.393215 14244 replication.cc:146] Write error while sending batch to slave: Connection reset by peer. batches: HOT 1
- Introduce Mutex Map in IndexInfo to Ensure Thread Safety During Index Construction HOT 1
- (m)TLS replication is broken in 2.9.0 HOT 4
- Add descriptions for commands on website documentation HOT 4
- Compile error from kvrocks v2.8.0 in CentOS 7 env HOT 2
- Inconsistent behavior with Redis in BITFIELD GET command HOT 2
- Provide a configuration to turn off transactional Context
- Potential unclear to the temporary dictionary of db while restoring
- Potential dead lock if switching different master frequently HOT 1
- Add go test cases for `txn_context_enabled` config
- The DUMP command does not support the BITMAP type
- Didn't load namespaces into memory after full syncing the db from master node HOT 7
- Improve the code style by introducing macros HOT 5
- why did kvrocks stopped when run for a fewer days HOT 7
- Improve the implementation of fence between the replication and workers
- Support for Cuckoo filter data structure and commands
- Inconsistent behavior when using RESTORE with dumped negative integers HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kvrocks.