Re: FYI Zookeeper.sync()

2018-04-19 Thread Chris Hostetter
: Thanks; I can definitely appreciate that Watchers (or more generally the : idea of chaining async callbacks) is usually a more suitable mechanism than : calling sync(). I've also seen some code patterns in which knowledge of To be clear: i'm not suggesting that we *don't* need sync() calls

Re: FYI Zookeeper.sync()

2018-04-19 Thread David Smiley
data in Solr that would require syncs? > > : Date: Thu, 19 Apr 2018 21:16:41 + > : From: David Smiley <david.w.smi...@gmail.com> > : Reply-To: dev@lucene.apache.org > : To: "dev@lucene.apache.org" <dev@lucene.apache.org> > : Subject: FYI Zookeeper.sync()

Re: FYI Zookeeper.sync()

2018-04-19 Thread Chris Hostetter
cene.apache.org" <dev@lucene.apache.org> : Subject: FYI Zookeeper.sync() : : As I was contemplating how it is that I see some weird behavior while : working on SolrCloud stuff could happen, I started to question my basic : assumptions. One assumption I held is that SolrZkClient.getData (which : calls

FYI Zookeeper.sync()

2018-04-19 Thread David Smiley
As I was contemplating how it is that I see some weird behavior while working on SolrCloud stuff could happen, I started to question my basic assumptions. One assumption I held is that SolrZkClient.getData (which calls ZooKeeper.getData) would always return the most up to date information from