SOLR-1135 -- Java replication creates Snapshot in the directory where Solr was launched

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@770082 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2009-04-30 06:19:02 +00:00
parent 9e07dfce5d
commit ec6e90dce5
2 changed files with 4 additions and 0 deletions

View File

@ -352,6 +352,9 @@ Bug Fixes
40. SOLR-965: Better error message when <pingQuery> is not configured. 40. SOLR-965: Better error message when <pingQuery> is not configured.
(Mark Miller via hossman) (Mark Miller via hossman)
41. SOLR-1135: Java replication creates Snapshot in the directory where Solr was launched (Jianhan Guo via shalin)
Other Changes Other Changes
---------------------- ----------------------
1. Upgraded to Lucene 2.4.0 (yonik) 1. Upgraded to Lucene 2.4.0 (yonik)

View File

@ -42,6 +42,7 @@ public class SnapShooter {
public SnapShooter(SolrCore core) { public SnapShooter(SolrCore core) {
solrCore = core; solrCore = core;
snapDir = core.getDataDir();
} }
void createSnapAsync(final Collection<String> files) { void createSnapAsync(final Collection<String> files) {