[
https://issues.apache.org/jira/browse/ZOOKEEPER-2362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15136523#comment-15136523
]
Whitney Sorenson commented on ZOOKEEPER-2362:
---------------------------------------------
It is possible that I can provide a reproducible test case, though it would
likely mean writing code which simply did the above operations endlessly. I
wonder if someone more familiar with the relevant code might be able to make
more sense of either the potential for this error or may be able to design a
better test case?
Unfortunately, it is not happening often: just once during a 6 month period
(and another time from another user); I will check if I have relevant ZooKeeper
logs, but probably not.
The ensemble size was 5, and I am not sure if connected to leader or follower.
> ZooKeeper multi / transaction allows partial read
> -------------------------------------------------
>
> Key: ZOOKEEPER-2362
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2362
> Project: ZooKeeper
> Issue Type: Bug
> Components: server
> Affects Versions: 3.4.6
> Reporter: Whitney Sorenson
> Priority: Critical
> Fix For: 3.4.9, 3.5.2
>
>
> In this thread
> http://mail-archives.apache.org/mod_mbox/zookeeper-user/201602.mbox/%3CCAPbqGzicBkLLyVDm7RFM20z0y3X1v1P-C9-1%3D%3D1DDqRDTzdOmQ%40mail.gmail.com%3E
> , I discussed an issue I've now seen in multiple environments:
> In a multi (using Curator), I write 2 new nodes. At some point, I issue 2
> reads for these new nodes. In one read, I see one of the new nodes. In a
> subsequent read, I fail to see the other new node:
> 1. Starting state : { /foo = <does not exist>, /bar = <does not exist> }
> 2. In a multi, write: { /foo = A, /bar = B}
> 3. Read /foo as A
> 4. Read /bar as <does not exist>
> #3 and #4 are issued 100% sequentially.
> It is not known at what point during #2, #3 starts.
> Note: the reads are getChildren() calls.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)