Hi Edward, I think the key problem is not making it up to date, but copy the information of the sequence. Thinking about the following example: we say source have seq node /test00005. Then I copy it to destination cluster, but create a non-seq node instead. After some while, the other application switch to destination cluster, and continue create seq node /test. When the seq no is 5, it will fail when create the node and the application may be blocked or failed.
Since I could not know if the node is seq one only according to the api, I could not create a seq node in destination cluster. Thanks, Gang On Thu, Dec 1, 2016 at 2:56 AM, Michael Han <h...@cloudera.com> wrote: > The path of ephemeral nodes has a pattern in their suffixes (10 digits with > 0 (zero) padding), see > https://zookeeper.apache.org/doc/trunk/zookeeperProgrammers.html# > Ephemeral+Nodes > > So you could do a pattern matching and skip those nodes, unless your client > applications deliberately create persistent but none sequential, or > ephemeral nodes with similar pattern. > > On Wed, Nov 30, 2016 at 3:39 AM, Edward Ribeiro <edward.ribe...@gmail.com> > wrote: > > > Hi, > > > > I don't know how stable and up to date it is, but did you take a look at > > Guano? https://github.com/d2fn/guano > > > > Edward > > > > Em 30 de nov de 2016 9:10 AM, "Xie Gang" <xiegang...@gmail.com> > escreveu: > > > > > Hi, > > > > > > I need to copy some zk nodes to some other place. But I need to skip > > those > > > sequence nodes. It seems that we could not get such information from > the > > > client API. Is there any way to do this? > > > > > > Thanks, > > > > > > > > > -- > > > Xie Gang > > > > > > > > > -- > Cheers > Michael. > -- Xie Gang