-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ReadOnlyServiceImpl里的Disruptor使用问题 #120
Comments
fengjiachun
added a commit
that referenced
this issue
Apr 19, 2019
@gumandy 非常感谢指出这个问题,确实是 bug |
fengjiachun
added a commit
that referenced
this issue
Apr 19, 2019
这个问题确实是个 bug,但是不影响 readIndex 读的正确性和一致性 |
@fengjiachun 前面read由于closure被覆盖都得不到notify了,直到超时,这。。。。。。。。。。。 |
恩,被覆盖的需要等到超时 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReadIndexResponseClosure里持有RingBuffer里的ReadIndexEvent对象,发起node.handleReadIndexRequest请求异步回调Closure,这里切换了线程,ReadIndexEvent里面的值是有可能被addRequest操作覆盖的
The text was updated successfully, but these errors were encountered: