[
https://issues.apache.org/jira/browse/ZOOKEEPER-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Han reassigned ZOOKEEPER-2432:
--------------------------------------
Assignee: Michael Han (was: Patrick Hunt)
> Document how to use single thread C client API to monitor connection status.
> ----------------------------------------------------------------------------
>
> Key: ZOOKEEPER-2432
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2432
> Project: ZooKeeper
> Issue Type: Sub-task
> Components: c client, documentation
> Affects Versions: 3.4.8
> Reporter: Michael Han
> Assignee: Michael Han
> Fix For: 3.5.3
>
>
> We need document the correct approach (use watchers combined with
> zookeeper_interest, select, and zookeeper_process) for monitoring connection
> events between client and server using single thread C library. See examples
> https://goo.gl/hql4B1 and
> https://github.com/fpj/zookeeper-book-example/blob/master/src/main/c/master.c.
> In particular emphasis that the return code of zookeeper_interest should not
> be relied for connection monitoring purposes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)