lucidworks / solr-stack

Ambari stack service for easily installing and managing Solr on HDP cluster
19 stars 13 forks source link

Dynamic index directory name - deleting lock files #34

Open vzak-profimedia opened 6 years ago

vzak-profimedia commented 6 years ago

Hi, solr cloud in some situations during replication renaming index directory to name with timestamp. screenshot_20180528_093523

in this situation there is a index.properties file in a data directory. index.properties file contains data like that:

index.properties

Thu Apr 19 07:57:32 UTC 2018

index=index.20180419074545695

Dynamic index directory name could be created during replication.

It would be great if solr startup script, check index.properties file and if exists, then delete lock file in a dynamic index directory.

vzak-profimedia commented 6 years ago

35