GitHub user kfirlevari opened a pull request:
https://github.com/apache/zookeeper/pull/411
ZOOKEEPER-2684 Fix a crashing bug in the mixed workloads commit processor
We wish to fix this long-standing issue in the code.
Note that the previous commit processor algorithm had the same approach (as
the one suggested in this fix) when dealing with a request that has a different
cxid than session's expected one (see
[here](https://github.com/apache/zookeeper/commit/9fc632c4f0a340b0a00ec6dff39c7b454c802822#diff-5cc688a027068714af01b0ad4d292fe5L238)).
This fix is based on the code from
https://github.com/apache/zookeeper/pull/167, following the discussion in
https://issues.apache.org/jira/browse/ZOOKEEPER-2684 .
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kfirlevari/zookeeper ZOOKEEPER-2684
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/411.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #411
----
commit 7e67982430d1f88fc50a6e60aceb168851a4c88c
Author: Kfir Lev-Ari <[email protected]>
Date: 2017-10-30T10:29:58Z
ZOOKEEPER-2684 Fix a crashing bug in the mixed workloads commit processor
----
---