You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Damien Diederen (Jira)" <ji...@apache.org> on 2019/08/29 16:02:00 UTC
[jira] [Commented] (ZOOKEEPER-2282) chroot not stripped from path
in asynchronous callbacks
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16918741#comment-16918741 ]
Damien Diederen commented on ZOOKEEPER-2282:
--------------------------------------------
I have recently pushed a GitHub "pull request" which addresses this:
https://github.com/apache/zookeeper/pull/1066
It is remarquably similar to the patch attached to this issue (I spotted it too late), but also avoids the aforementioned test failure.
> chroot not stripped from path in asynchronous callbacks
> -------------------------------------------------------
>
> Key: ZOOKEEPER-2282
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2282
> Project: ZooKeeper
> Issue Type: Bug
> Components: c client
> Affects Versions: 3.4.6, 3.5.0
> Environment: Centos 6.6
> Reporter: Andrew Grasso
> Assignee: Andrew Grasso
> Priority: Critical
> Labels: pull-request-available
> Attachments: ZOOKEEPER-2282.patch
>
> Original Estimate: 1h
> Time Spent: 10m
> Remaining Estimate: 50m
>
> Callbacks passed to [zoo_acreate], [zoo_async], and [zoo_amulti] (for create ops) are called on paths that include the chroot. This is analagous to issue 1027, which fixed this bug for synchronous calls.
> I've created a patch to fix this in trunk
--
This message was sent by Atlassian Jira
(v8.3.2#803003)