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

主主结构获取问题 #1274

Open
zhongqihui opened this issue Nov 2, 2018 · 1 comment
Open

主主结构获取问题 #1274

zhongqihui opened this issue Nov 2, 2018 · 1 comment

Comments

@zhongqihui
Copy link

我有两台机A1,A2,我往A1节点中插入一个key。马上从两个节点中随机获取一个节点获取key,发现有时找不到。我想问的是,ssdb内部难道没有一种机制,A2节点没有找到,就从A1上拿?

@ideawu
Copy link
Owner

ideawu commented Nov 2, 2018

ssdb的主从同步机制是异步的,最终一致,同步的延时大概在100ms左右。

针对你这种情况,应该在你的代码逻辑上进行改变。

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

2 participants