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

A problem occurs during go integration testing #2492

Open
luky116 opened this issue Mar 11, 2024 · 2 comments
Open

A problem occurs during go integration testing #2492

luky116 opened this issue Mar 11, 2024 · 2 comments
Labels
☢️ Bug Something isn't working

Comments

@luky116
Copy link
Collaborator

luky116 commented Mar 11, 2024

Is this a regression?

Yes

Description

There was a problem when go integrated testing the idea, but the problem was not reproduced locally, it should be a problem caused by pika cache

集成测试的 CI 报了下面的问题,但是本地没有复现,猜测应该是 Pika 缓存导致的问题,非必现。先记录这个issue,今天继续排查原因

image

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

images

Please provide the version you discovered this bug in (check about page for version information)

No response

Anything else?

No response

@luky116 luky116 added the ☢️ Bug Something isn't working label Mar 11, 2024
@chejinge
Copy link
Collaborator

这个问题的原因是从节点apply binlog的时候不能保证顺序,所以有可能flushdb先于set执行 导致从有脏数据,和缓存没有关系,解决办法,在flushdb前后都检查一下

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


The reason for this problem is that the order cannot be guaranteed when applying binlog from the slave node, so flushdb may be executed before set, resulting in dirty data from the slave node, which has nothing to do with the cache. The solution is to check before and after flushdb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☢️ Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants