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

Rollback doesn't preserve integrity of original index

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 2.9.4, 3.0.3, 3.1, 4.0-ALPHA
    • Component/s: core/index
    • Labels:
      None
    • Environment:

      Windows XP pro

    • Lucene Fields:
      New

      Description

      After several "updateDocuments" calls a rollback call does not return the index to the prior state.
      This seems to occur if the number of updates exceeds the RAM buffer size i.e. when some flushing of updates occurs.

      Test fails in Lucene 2.4, 2.9, 3.0.1 and 3.0.2

      JUnit to follow.

        Attachments

        1. LUCENE-2536.patch
          4 kB
          Michael McCandless
        2. LUCENE-2536.patch
          5 kB
          Michael McCandless
        3. TestRollback.java
          3 kB
          Shai Erera
        4. TestRollback.java
          3 kB
          Mark Harwood

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              markh Mark Harwood
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: