Hi Everyone,
> We are using solr 8.8.2. The solrjapi to fetch the clusterstate works fine
> with the clustersetup, but throws keeperexception, keeper error=session
> expired clusterstate.Jason or aliases.Json when trying in a standalone setup.
> Tried restarting the zk but not working.
> Code
>
> Zkstatereadet.createUsterstateWatchersAndUpdate
>
> This was working in both cluster and standalone setups earlier in solr4.10.2
> but in 8.8.2 was it not working. Kindly advise.
> This code is to fetch the cores and update our database from solr.
> I’m getting throw exception “couldn’t connect to zookeeper for cluster”.
> Followed by keeperexception keeper error code =session expired for
> /aliases.json and /clusterstate.json
>
> Kindly advise if we need to do a code change if it’s standalone setup or it’s
> a network latency or GC pause issue as mentioned in some
> Online reference.
>
> Thanks,
> Reej