Make sure you’re not using /tmp for your data directory. Do you see deletions on system reboot only or also process restart?
On Mon, Jan 24, 2022 at 12:37 PM Modassar Ather <modather1...@gmail.com> wrote: > Hi, > > Please provide your suggestions to fix the issue. Is there some > configuration which I am missing so the nodes are getting deleted? > I tried recreating new cores whenever the Solr server restarted but that > has issues like nodes not coming up on certain exceptions. > > Thanks, > Modassar > > On Thu, Jan 20, 2022 at 10:27 AM Shawn Heisey <apa...@elyograg.org> wrote: > > > On 1/19/2022 9:37 PM, Modassar Ather wrote: > > > The clusterstate.json file is empty. > > > > It's completely normal for recent Solr versions to have an empty > > clusterstate.json file. The empty file is still used by Solr's > > interaction with zookeeper, but the actual clusterstate is now kept on a > > per-collection basis in state.json files. I think that > > clusterstate.json will no longer be used in a future Solr version. > > > > Thanks, > > Shawn > > >