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:08:49 UTC
[jira] Created: (ZOOKEEPER-827) enable r/o mode in C client library
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
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.
[jira] Commented: (ZOOKEEPER-827) enable r/o mode in C client
library
Posted by "Flavio Junqueira (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906907#action_12906907 ]
Flavio Junqueira commented on ZOOKEEPER-827:
--------------------------------------------
I was wondering what the status of this patch is. Should it be patch available or there are still things missing?
> 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, ZOOKEEPER-827.patch, ZOOKEEPER-827.patch, 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.
[jira] Commented: (ZOOKEEPER-827) enable r/o mode in C client
library
Posted by "Flavio Junqueira (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907117#action_12907117 ]
Flavio Junqueira commented on ZOOKEEPER-827:
--------------------------------------------
Sergey, I'm asking because it is currently not marked as "Patch available". Should it be patch available? From your answer, it sounds like a "yes", but it would be good if you could confirm.
> 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, ZOOKEEPER-827.patch, ZOOKEEPER-827.patch, 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.
[jira] Assigned: (ZOOKEEPER-827) enable r/o mode in C client
library
Posted by "Sergey Doroshenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Doroshenko reassigned ZOOKEEPER-827:
-------------------------------------------
Assignee: Sergey Doroshenko
> 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
>
> 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.
[jira] Updated: (ZOOKEEPER-827) enable r/o mode in C client library
Posted by "Sergey Doroshenko (JIRA)" <ji...@apache.org>.
[ 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
improved documentation
> 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, ZOOKEEPER-827.patch, ZOOKEEPER-827.patch, 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.
[jira] Updated: (ZOOKEEPER-827) enable r/o mode in C client library
Posted by "Sergey Doroshenko (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (ZOOKEEPER-827) enable r/o mode in C client library
Posted by "Sergey Doroshenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Doroshenko updated ZOOKEEPER-827:
----------------------------------------
Status: Open (was: Patch Available)
cancelling patch since test won't pass till server-side changes is integrated to the trunk
> 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, ZOOKEEPER-827.patch, 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.
[jira] Commented: (ZOOKEEPER-827) enable r/o mode in C client
library
Posted by "Sergey Doroshenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907542#action_12907542 ]
Sergey Doroshenko commented on ZOOKEEPER-827:
---------------------------------------------
Since ZOOKEEPER-784 is not in trunk, Hudson will reject this patch. But if you apply 784's patch, this one becomes "patch available"
> 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, ZOOKEEPER-827.patch, ZOOKEEPER-827.patch, 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.
[jira] Updated: (ZOOKEEPER-827) enable r/o mode in C client library
Posted by "Sergey Doroshenko (JIRA)" <ji...@apache.org>.
[ 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
sessions handling added
> 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, 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.
[jira] Commented: (ZOOKEEPER-827) enable r/o mode in C client
library
Posted by "Flavio Junqueira (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907652#action_12907652 ]
Flavio Junqueira commented on ZOOKEEPER-827:
--------------------------------------------
Got it, thanks for the clarification, Sergey.
> 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, ZOOKEEPER-827.patch, ZOOKEEPER-827.patch, 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.
[jira] Updated: (ZOOKEEPER-827) enable r/o mode in C client library
Posted by "Sergey Doroshenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Doroshenko updated ZOOKEEPER-827:
----------------------------------------
Status: Patch Available (was: Open)
> 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.
[jira] Updated: (ZOOKEEPER-827) enable r/o mode in C client library
Posted by "Sergey Doroshenko (JIRA)" <ji...@apache.org>.
[ 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
* test added
* made client backwards compatible with old server
Overall, that's it. Fully workable r/o mode. Of course, to test it you also need to apply ZOOKEEPER-784
> 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, ZOOKEEPER-827.patch, 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.
[jira] Commented: (ZOOKEEPER-827) enable r/o mode in C client
library
Posted by "Sergey Doroshenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907053#action_12907053 ]
Sergey Doroshenko commented on ZOOKEEPER-827:
---------------------------------------------
This is fully workable solution that depends on ZOOKEEPER-784 only
> 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, ZOOKEEPER-827.patch, ZOOKEEPER-827.patch, 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.