On 6/8/2022 4:01 AM, Yurii Aleshchenko wrote:
How can I save my data in docker volume and why solr deleted all collections, cores on startup ?
It sounds like when you are recreating the setup, that you are starting with a brand new and empty ZK database.
All the collection configuration is in ZK, and any core that exists in a SolrCloud node that does not reference a known collection in the ZK database is deleted on startup.
If you want to preserve a SolrCloud install when rebuilding the docker containers, you will need to preserve the ZK database as well as the cores in the Solr home, or Solr will delete all the cores on startup.
Thanks, Shawn