SOLR-6153: ReplicationHandler backup response format should contain backup name

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602592 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2014-06-14 14:57:30 +00:00
parent a52a82bec5
commit a99904a2bd
2 changed files with 4 additions and 0 deletions

View File

@ -227,6 +227,9 @@ Other Changes
* SOLR-6161: SolrDispatchFilter should throw java.lang.Error back even if wrapped in
another exception. (Miklos Christine via shalin)
* SOLR-6153: ReplicationHandler backup response format should contain backup name.
(Varun Thacker via shalin)
Optimizations
----------------------

View File

@ -154,6 +154,7 @@ public class SnapShooter {
details.add("fileCount", files.size());
details.add("status", "success");
details.add("snapshotCompletedAt", new Date().toString());
details.add("snapshotName", snapshotName);
} catch (Exception e) {
SnapPuller.delTree(snapShotDir);
LOG.error("Exception while creating snapshot", e);