[
https://issues.apache.org/jira/browse/ZOOKEEPER-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Grasso updated ZOOKEEPER-2282:
-------------------------------------
Attachment: ZOOKEEPER-2282-TEST.patch
This appears not to have been fixed. The test code for chroot stripping
contains the following comment:
{quote}
// the c client async callbacks do
// not callback with the path, so
// we dont need to test taht for now
// we should fix that though soon!
{quote}
This is incorrect. Adding a test for the correctness of chroot stripping for
async callbacks (e.g. create) causes the test to fail.
This patch is against release 3.4.6
> 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
> Priority: Critical
> Attachments: ZOOKEEPER-2282-TEST.patch, strip_chroot.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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
(v6.3.4#6332)