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

updateNumericDocValue mixed with updateDocument can cause data loss in some randomized testing

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.5.2, 5.6, 6.0.2, 6.1, 7.0
    • None
    • None
    • New

    Description

      SOLR-5944 has been held up by a while due to some extremely rare randomized test failures.

      Ishan and I have been working on whitling those Solr test failures down, trying to create more isolated reproducable test failures, and i think i've tracked it down to a bug in IndexWriter when the client calls to updateDocument intermixed with calls to updateNumericDocValue AND IndexWriterConfig.setMaxBufferedDocs is very low (i suspect "how low" depends on the number of quantity/types of updates – but just got something that reproduced, and haven't tried reproducing with higher values of maxBufferedDocs and larger sequences of updateDocument / updateNumericDocValue calls.

      Attachments

        1. LUCENE-7301.patch
          4 kB
          Chris M. Hostetter
        2. LUCENE-7301.patch
          7 kB
          Chris M. Hostetter
        3. LUCENE-7301.patch
          14 kB
          Michael McCandless

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: