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

IndexWriter's enforcement of 2.1B doc limits is buggy

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.10.4, 5.0, 5.1, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      E.g. if you pass an already > 2.1B docs to either addIndexes, it can fail to enforce properly.

      IW's private reserveDocs should refuse to accept negative values.

      IW.deleteAll fails to set the pendingNumDocs to 0.

        Attachments

        1. LUCENE-6299_addIndexes.patch
          12 kB
          Robert Muir
        2. LUCENE-6299.patch
          43 kB
          Michael McCandless
        3. LUCENE-6299-410x.patch
          13 kB
          Michael McCandless
        4. LUCENE-6299.patch
          42 kB
          Michael McCandless
        5. LUCENE-6299.patch
          44 kB
          Robert Muir
        6. LUCENE-6299.patch
          47 kB
          Robert Muir

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: