zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Junqueira <...@apache.org>
Subject Re: ZooKeeper Sync API path parameter does not have any impact.
Date Wed, 07 Sep 2016 11:15:19 GMT
The path parameter helps the app determine the path that the response is referring to. A sync
call is typically associated to a read request to a given path, so the path in the sync call
helps the application make the association to that path.

-Flavio

> On 07 Sep 2016, at 11:35, Mohammad arshad <mohammad.arshad@huawei.com> wrote:
> 
> Hello Everyone
> ZooKeeper sync API takes a path argument.
> But it seems this path is no where used in the server code. Same path is returned from
the server to client again in SyncResponse.
> Is the any other purpose of sync API path parameter.
> Will there be any different impact for below sync commands form zk Cli?
> sync /path1
> sync /path2
> 
> Thanks
> -Arshad


Mime
View raw message