You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Cao Manh Dat (Jira)" <ji...@apache.org> on 2020/03/27 07:38:00 UTC
[jira] [Commented] (SOLR-14366) Adding number of backed up
documents to backup.properties
[ https://issues.apache.org/jira/browse/SOLR-14366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068382#comment-17068382 ]
Cao Manh Dat commented on SOLR-14366:
-------------------------------------
Basically now, we ask deletionPolicy to give us an IndexCommit which contains
* list of files
* number of segments
* commit’s userData
But no maxDoc, since that information is obtained by sum up maxDoc from all segmentInfos. In theory we can get a IndexReader from SolrCore then get IndexCommit from that Reader instead of going through deletionPolicy. but getting IndexCommit from deletionPolicy give us a guarantee that all files relates to that commit are not deleted. Not sure we can get same guarantee from Reader.
Any idea [~hossman] [~varun]?
> Adding number of backed up documents to backup.properties
> ---------------------------------------------------------
>
> Key: SOLR-14366
> URL: https://issues.apache.org/jira/browse/SOLR-14366
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Cao Manh Dat
> Priority: Major
>
> This is a needed information but it is non trivial to achieve.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org