Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2481

Enhance SnapshotDeletionPolicy to allow taking multiple snapshots

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      A spin off from here: http://www.gossamer-threads.com/lists/lucene/java-dev/99161?do=post_view_threaded#99161

      I will:

      1. Replace snapshot() with snapshot(String), so that one can name/identify the snapshot
      2. Add some supporting methods, like release(String), getSnapshots() etc.
      3. 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.

        Attachments

        1. LUCENE-2481-3x.patch
          44 kB
          Shai Erera
        2. LUCENE-2481-3x.patch
          44 kB
          Shai Erera

          Activity

            People

            • Assignee:
              shaie Shai Erera
              Reporter:
              shaie Shai Erera
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: