[
https://issues.apache.org/jira/browse/LUCENE-4973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-4973:
---------------------------------------
Attachment: LUCENE-4973.patch
Patch ... SDP is simpler now (I also removed some methods, eg
getSnapshot, snapshotExists). I think separately we should fix
PersistentSDP to store its state in a single file ... separate issue.
> SnapshotDeletionPolicy should not require an id
> -----------------------------------------------
>
> Key: LUCENE-4973
> URL: https://issues.apache.org/jira/browse/LUCENE-4973
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 5.0, 4.4
>
> Attachments: LUCENE-4973.patch
>
>
> The id is unnecessary and just adds complexity: SDP can just return
> the IndexCommit, and when you want to release you pass back the
> IndexCommit. PersistentSDP can expose release(long gen).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]