[ 
https://issues.apache.org/jira/browse/LUCENE-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873324#action_12873324
 ] 

Earwin Burrfoot commented on LUCENE-2481:
-----------------------------------------

Still dislike that string key you have to generate somehow. And if you just 
want some threads to get and release snapshots independently? You have to 
devise some random key generation scheme?


> Enhance SnapshotDeletionPolicy to allow taking multiple snapshots
> -----------------------------------------------------------------
>
>                 Key: LUCENE-2481
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2481
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>            Priority: Minor
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2481-3x.patch
>
>
> A spin off from here: 
> http://www.gossamer-threads.com/lists/lucene/java-dev/99161?do=post_view_threaded#99161
> I will:
> # Replace snapshot() with snapshot(String), so that one can name/identify the 
> snapshot
> # Add some supporting methods, like release(String), getSnapshots() etc.
> # Some unit tests of course.
> This is mostly written already - I want to contribute it. I've also written a 
> PersistentSDP, which persists the snapshots on stable storage (a Lucene index 
> in this case) to support opening an IW with existing snapshots already, so 
> they don't get deleted. If it's interesting, I can contribute it as well.
> Porting my patch to the new API. Should post it soon.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to