Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2977

Csuite LSM Random test can occasionally fail

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0, 3.2.11, 3.4.0-rc2
    • Labels:
      None
    • Sprint:
      Storage 2016-10-31

      Description

      The LSM random test can occasionally fail as follows:

       
      FAIL: test_wt2403_lsm_workload
      ==============================
       
      query_docs/87: count <= NUM_QUERIES / 100: same document was returned 75 times, likely we are seeing the one remaining value
      100000 documents inserted
      1000 documents read
      100000 documents set to update
      1000 documents read
      1000 documents read
      99999 documents deleted
      FAIL test_wt2403_lsm_workload (exit status: 1)
      

      The failure is due to a test seeing slightly higher than expected returns of the same document on a random cursor.

      The count here is the total number of times that a repeated document has returned and it is never reset.

      This part of random cursors is better tested within the python suite test_random_cursor (using a set) and can be removed.

        Attachments

          Activity

            People

            • Assignee:
              david.hows David Hows (Inactive)
              Reporter:
              david.hows David Hows (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: