Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.6.0
Description
Serving write requests that change the state of the system requires quorum operations, and in some cases, the quorum operations can be avoided if the requests are doomed to fail. ACL check failure is such a case. To optimize for this case, we elevate the ACL check logic and perform eager ACL check on local server (where the requests are received), and fail fast, before sending the requests to leader.
As with any features, there is a feature flag that can control this feature on, or off (default). This feature is also forward compatible in that for new any new Op code (and some existing Op code we did not explicit check against), they will pass the check and (potentially) fail on leader side, instead of being prematurely filtered out on local server.
The end result is better throughput and stability of the quorum for certain workloads.
Attachments
Issue Links
- causes
-
ZOOKEEPER-4569 Xid out of order caused by early return from eager acl check
- Open
- is related to
-
ZOOKEEPER-3594 Ability to skip proposing requests with error transactions
- Open
- links to