lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6153) ReplicationHandler backup response format should contain backup name
Date Sat, 14 Jun 2014 14:58:01 GMT

    [ https://issues.apache.org/jira/browse/SOLR-6153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031588#comment-14031588
] 

ASF subversion and git services commented on SOLR-6153:
-------------------------------------------------------

Commit 1602593 from shalin@apache.org in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1602593 ]

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

> ReplicationHandler backup response format should contain backup name
> --------------------------------------------------------------------
>
>                 Key: SOLR-6153
>                 URL: https://issues.apache.org/jira/browse/SOLR-6153
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Varun Thacker
>            Priority: Minor
>         Attachments: SOLR-6153.patch
>
>
> Currently this is the response when we ask ReplicationHandler for "details" - 
> {noformat}
> <?xml version="1.0" encoding="UTF-8"?>
> <response>
>    <lst name="responseHeader">
>       <int name="status">0</int>
>       <int name="QTime">0</int>
>    </lst>
>    <lst name="details">
>       <str name="indexSize">3.1 KB</str>
>       <str name="indexPath">C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\temp\solr.handler.TestReplicationHandlerBackup-DCCC360504A48D2D-001\solr-instance-001\collection1\data\index/</str>
>       <arr name="commits">
>          <lst>
>             <long name="indexVersion">1402224615148</long>
>             <long name="generation">2</long>
>             <arr name="filelist">
>                <str>_0.cfe</str>
>                <str>_0.cfs</str>
>                <str>_0.si</str>
>                <str>segments_2</str>
>             </arr>
>          </lst>
>       </arr>
>       <str name="isMaster">true</str>
>       <str name="isSlave">false</str>
>       <long name="indexVersion">1402224615148</long>
>       <long name="generation">2</long>
>       <lst name="master">
>          <str name="confFiles">schema-replication2.xml:schema.xml</str>
>          <arr name="replicateAfter">
>             <str>commit</str>
>          </arr>
>          <str name="replicationEnabled">true</str>
>          <long name="replicableVersion">1402224615148</long>
>          <long name="replicableGeneration">2</long>
>       </lst>
>       <lst name="backup">
>          <str name="startTime">Sun Jun 08 13:50:15 IDT 2014</str>
>          <int name="fileCount">4</int>
>          <str name="status">success</str>
>          <str name="snapshotCompletedAt">Sun Jun 08 13:50:15 IDT 2014</str>
>       </lst>
>    </lst>
>    <str name="WARNING">This response format is experimental.  It is likely to change
in the future.</str>
> </response>
> {noformat}
> In the "backup" node we should add the snapshot name also.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message