You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Sergey Doroshenko (JIRA)" <ji...@apache.org> on 2010/07/21 20:28:50 UTC
[jira] Updated: (ZOOKEEPER-827) enable r/o mode in C client library
[ https://issues.apache.org/jira/browse/ZOOKEEPER-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Doroshenko updated ZOOKEEPER-827:
----------------------------------------
Attachment: ZOOKEEPER-827.patch
Workable version of r/o functionality.
To get r/o-enabled zhandle use zookeeper_init_ro function; zookeeper_init simply delegates to it. Client seeks for r/w server if in r/o state. Default watcher receives appropriate notifications.
Things to add is handling of "fake" sessions (check ZOOKEEPER-784 and wiki page for details), and tests. For now I do have tests but they are tied to my environment; I also tested added functionality with cli_mt command-line client
> enable r/o mode in C client library
> -----------------------------------
>
> Key: ZOOKEEPER-827
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-827
> Project: Zookeeper
> Issue Type: Sub-task
> Reporter: Sergey Doroshenko
> Assignee: Sergey Doroshenko
> Attachments: ZOOKEEPER-827.patch
>
>
> Implement read-only mode functionality (in accordance with http://wiki.apache.org/hadoop/ZooKeeper/GSoCReadOnlyMode) in C client library
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.