Some possibilities:

1> you haven’t changed your data dir for Zookeeper from the default 
"/tmp/zookeeper”

2> you aren’t pointing to the Zookeepers you think you are. In particular are 
you running embedded zookeeper? This should be apparent if you look on the 
admin page ant the zookeeper URLs you’re pointing at are on port 9983

this is almost certainly some kind of misconfiguration, zookeeper data doesn’t 
just disappear on its own that I know of. The admin UI will also show you the 
exact parameters that Solr starts up with, check that they’re all pointing to 
the ZK ensemble you expect and that the data directory is preserved across 
restarts/reboots etc.

Best,
Erick

> On Jul 20, 2020, at 12:02 PM, yaswanth kumar <yaswanth...@gmail.com> wrote:
> 
> HI Team,
> 
> Can someone help me understand on what could be the reason to lose both
> zookeeper data and also the collection information that will be stored for
> each collection in the path ../solr/server/solr/
> 
> Here are the details of what versions that we use
> 
> Solr - 8.2
> Zookeeper 3.4.14
> 
> Two node solr cloud with zookeeper on single node, and when ever we see an
> issue with networking between these two nodes, and once the connectivity is
> restored, but when we restart the zookeeper service , everything was lost
> under /zookeeper_data/version-2/ and also the collection folders that used
> to exists under ../solr/server/solr/
> 
> *Note*: We are testing this in DEV environment, but with this behavior we
> are afraid of moving this to production without knowing if that's an issue
> with some configuration or zookeeper behavior and we need to adjust
> something else to not to wipe out the configs.
> 
> -- 
> Thanks & Regards,
> Yaswanth Kumar Konathala.
> yaswanth...@gmail.com

Reply via email to