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

Rollback doesn't preserve integrity of original index

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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. 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

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mharwood Mark Harwood

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment