You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by GitBox <gi...@apache.org> on 2019/07/28 18:25:34 UTC
[GitHub] [zookeeper] lvfangmin opened a new pull request #1026:
[ZOOKEEPER-3472] Treat check request as a write request which needs to wait
for the check txn commit from leader
lvfangmin opened a new pull request #1026: [ZOOKEEPER-3472] Treat check request as a write request which needs to wait for the check txn commit from leader
URL: https://github.com/apache/zookeeper/pull/1026
Check op is usually used as a sub op in multi, but from the ZooKeeper server implementation it can also called separately, the learner will forward this request to leader, and the leader will check the version with the given version in the request, and generate a txn (error) in the quorum.
There is no explicit API exposed for check, but it could leave an issue there if the check API is exposed in the future.
Also because the check API is not exposed, we cannot write an E2E test for check here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services