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

IndexWriter's enforcement of 2.1B doc limits is buggy

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 4.10.4, 5.0, 5.1, 6.0
    • None
    • None
    • 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
          47 kB
          Robert Muir
        3. LUCENE-6299.patch
          44 kB
          Robert Muir
        4. LUCENE-6299.patch
          42 kB
          Michael McCandless
        5. LUCENE-6299.patch
          43 kB
          Michael McCandless
        6. LUCENE-6299-410x.patch
          13 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: