[ https://issues.apache.org/jira/browse/SOLR-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678137#action_12678137 ]
Steven Rowe commented on SOLR-346: ---------------------------------- BTW, I tested the similar change made to snappuller under SOLR-830, and it does *not* have the same interpolation issue: {code} snap_name=`ssh -o StrictHostKeyChecking=no ${master_host} \ "perl -e 'chdir ${master_data_dir}|; print ((sort grep {/^snapshot[.][1-9][0-9]{13}$/} <*>)[-1])'"` {code} Since the perl script is enclosed in double quotes, ${master_data_dir} is properly interpolated before perl sees it. > need to improve snapinstaller to ignore non-snapshots in data directory > ----------------------------------------------------------------------- > > Key: SOLR-346 > URL: https://issues.apache.org/jira/browse/SOLR-346 > Project: Solr > Issue Type: Improvement > Components: replication (scripts) > Affects Versions: 1.2, 1.3 > Reporter: Bill Au > Assignee: Bill Au > Priority: Minor > Fix For: 1.4 > > Attachments: solr-346.patch > > > http://www.mail-archive.com/solr-u...@lucene.apache.org/msg05734.html > > latest snapshot /opt/solr/data/temp-snapshot.20070816120113 already > > installed > A directory in the Solr data directory is causing snapinstaller to fail. > Snapinstaller should be improved to ignore any much non-snapshot as possible. > It can use a regular expression to look for snapshot.dddddddddddddd where d > is a digit. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.