Skip to content
Permalink
Browse files
AMBARI-23182. Infra Solr - add custom Ambari commands for backup/migr…
…ate/restore index. (#596)
  • Loading branch information
oleewere committed Mar 11, 2018
1 parent 14432d5 commit af0bd420b97d2ebe7622624e687a3c596a0efc28
Showing 1 changed file with 5 additions and 0 deletions.
@@ -68,6 +68,11 @@ function upgrade_core() {
verbose="-verbose"
fi

if [[ -f "$INDEX_DIR/write.lock" ]]; then
echo "Deleting $INDEX_DIR/write.lock file..."
rm "$INDEX_DIR/write.lock"
fi

for coll in $SOLR_CORE_FILTER_ARR; do
if [[ "$1" == *"$coll"* ]]; then
echo "$core_str '$1' dir name contains $coll (core filter)'";

0 comments on commit af0bd42

Please sign in to comment.