zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2700) Force ZooKeeper to generate snapshot
Date Tue, 21 Feb 2017 18:34:44 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15876447#comment-15876447
] 

ASF GitHub Bot commented on ZOOKEEPER-2700:
-------------------------------------------

Github user hanm commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/180#discussion_r102282461
  
    --- Diff: src/java/main/org/apache/zookeeper/server/ZooKeeperServer.java ---
    @@ -303,15 +305,38 @@ public void loadData() throws IOException, InterruptedException
{
     
         public void takeSnapshot(){
    --- End diff --
    
    Cross DC deployment is an interesting topic and ZooKeeper does not intrinsically support
it very well. Not saying that you don't need your snap command (I understand it is a quick
and dirty way to get things working for your case), but here is some design that you might
find useful for your deployment:
    
    https://www.usenix.org/system/files/conference/atc16/atc16_paper-lev-ari.pdf
    The basic idea of this is to partition your data to have multiple ZK ensembles (this loses
global strong consistency) and then patch global consistency at client side. The client library
is open sourced somewhere.
    
    https://issues.apache.org/jira/browse/ZOOKEEPER-892
    This is an old issue that no one driving at moment but sounds a good fit for your use
case.



> Force ZooKeeper to generate snapshot
> ------------------------------------
>
>                 Key: ZOOKEEPER-2700
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2700
>             Project: ZooKeeper
>          Issue Type: Improvement
>            Reporter: Flier Lu
>            Priority: Minor
>
> When cold backup or remote offline sync Zookeeper instances, we need the latest snapshot.
> Add a four letter `snap` command to force Zookeeper to generate snapshot.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message