Git Product home page Git Product logo

Comments (12)

Zakelly avatar Zakelly commented on September 27, 2024 1

@jihuayu Sure thing. Log attached.
logs_21881009491.zip

from kvrocks.

git-hulk avatar git-hulk commented on September 27, 2024 1

@AntiTopQuark Not yet, thank you!

from kvrocks.

git-hulk avatar git-hulk commented on September 27, 2024 1

@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.

jihuayu avatar jihuayu commented on September 27, 2024

Thank you @Zakelly !
The action log will be deleted by GitHub after some days. Can you download the log file and upload?

from kvrocks.

PragmaTwice avatar PragmaTwice commented on September 27, 2024

IMHO we should spend some time on investigating this issue and find a solution before next release. cc @git-hulk

from kvrocks.

git-hulk avatar git-hulk commented on September 27, 2024

@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 avatar PragmaTwice commented on September 27, 2024

@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.

AntiTopQuark avatar AntiTopQuark commented on September 27, 2024

@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.

AntiTopQuark avatar AntiTopQuark commented on September 27, 2024

@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.
image

Or we can try to make the test script sleep longer?

from kvrocks.

AntiTopQuark avatar AntiTopQuark commented on September 27, 2024

@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. image

Or we can try to make the test script sleep longer?

cc @git-hulk

from kvrocks.

PragmaTwice avatar PragmaTwice commented on September 27, 2024

Yeah we can adjust 0.02 to see if it works.

from kvrocks.

Zakelly avatar Zakelly commented on September 27, 2024

Happy to see the great investigation! Thanks @AntiTopQuark

from kvrocks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.