zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Han (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-2432) Document how to use single thread C client API to monitor connection status.
Date Mon, 13 Mar 2017 16:21:56 GMT

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Han updated ZOOKEEPER-2432:
-----------------------------------
    Fix Version/s:     (was: 3.5.3)
                   3.6.0
                   3.5.4

> 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.4, 3.6.0
>
>
> 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.15#6346)

Mime
View raw message