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

Rollback doesn't preserve integrity of original index

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.2
    • 2.9.4, 3.0.3, 3.1, 4.0-ALPHA
    • core/index
    • None
    • Windows XP pro

    • 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. TestRollback.java
          3 kB
          Mark Harwood
        2. TestRollback.java
          3 kB
          Shai Erera
        3. LUCENE-2536.patch
          5 kB
          Michael McCandless
        4. LUCENE-2536.patch
          4 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mharwood Mark Harwood
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: