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

Enhance SnapshotDeletionPolicy to allow taking multiple snapshots

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.1, 4.0-ALPHA
    • core/index
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: