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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.2, 5.6, 6.0.2, 6.1, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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
          14 kB
          Michael McCandless
        2. LUCENE-7301.patch
          7 kB
          Hoss Man
        3. LUCENE-7301.patch
          4 kB
          Hoss Man

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hossman Hoss Man
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: