lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2481) Enhance SnapshotDeletionPolicy to allow taking multiple snapshots
Date Thu, 27 May 2010 18:33:36 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shai Erera updated LUCENE-2481:
-------------------------------

    Attachment: LUCENE-2481-3x.patch

Enhancements to SnapshotDeletionPolicy + tests.

Also, I've added a PersistentSDP, which persists the snapshots information in a Lucene Directory.
In case the JVM crashes, the info from the Directory can be used to open an IndexWriter on
the other Directory w/ already snapshotted commits (prevents their deletion).

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message