snappuller has limitation w/r/t/ handling multiple web apps -----------------------------------------------------------
Key: SOLR-524 URL: https://issues.apache.org/jira/browse/SOLR-524 Project: Solr Issue Type: Improvement Components: replication Affects Versions: 1.2 Environment: Linux (CentOS release 5 (Final)) Java JDK 6 Reporter: Ezra Epstein Priority: Minor The snappuller has a limitation which makes it hard to use for replicating the indices for multiple webapps. In particular, by changing: # rsync over files that have changed rsync -Wa${verbose}${compress} --delete ${sizeonly} \ ${stats} rsync://${master_host}:${rsyncd_port}/solr/${name}/ ${data_dir}/${name}-wip to: # rsync over files that have changed rsync -Wa${verbose}${compress} --delete ${sizeonly} \ ${stats} rsync://${master_host}:${rsyncd_port}/${rsync_module_path}/${name}/ ${data_dir}/${name}-wip and adding an rsync_module_path variable to scripts.conf, plus giving it a default value of "solr" before the 'unset' commands at the top of the snappuller script, I've worked around the issue. Still, it seems better to not hard-code the module name ([solr]) and also to allow some flexibility in the location of the data files under that module. This is req'd for multiple webapps since they won't share a data folder. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.