Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5652

Heisenbug in DistribCursorPagingTest: "walk already seen ..."

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.7
    • None
    • None

    Description

      Several times now, Uwe's jenkins has encountered a "walk already seen ..." assertion failure from DistribCursorPagingTest that I've been unable to fathom, let alone reproduce (although sarowe was able to trigger a similar, non-reproducible seed, failure on his machine)

      Using this as a tracking issue to try and make sense of it.

      Summary of things noticed so far:

      • So far only seen on http://jenkins.thetaphi.de & sarowe's mac
      • So far seen on MacOSX and Linux
      • So far seen on branch 4x and trunk
      • So far seen on Java6, Java7, and Java8
      • fails occured in first block of randomized testing:
        • we've indexed a small number of randomized docs
        • we're explicitly looping over every field and sorting in both directions
      • fails were sorting on one of the "*_dv_last" or "*_dv_first" fields (docValues=true, either sortMissingLast=true OR sortMissingFirst=true)
        • for desc sorts, sort on same field asc has worked fine just before this (fields are in arbitrary order, but "asc" always tried before "desc")
        • sorting on some other random fields has sometimes been tried before this and worked

      (specifics of each failure seen in the wild recorded in comments)

      Attachments

        1. 129.log
          790 kB
          Steven Rowe
        2. 372.log
          713 kB
          Steven Rowe
        3. bin_dv.post-patch.log.txt
          3.01 MB
          Chris M. Hostetter
        4. jenkins.thetaphi.de_Lucene-Solr-4.x-MacOSX_1200.log.txt
          1.53 MB
          Chris M. Hostetter
        5. jenkins.thetaphi.de_Lucene-Solr-4.x-MacOSX_1217.log.txt
          1.14 MB
          Chris M. Hostetter
        6. SOLR-5652.codec.skip.dv.patch
          6 kB
          Chris M. Hostetter
        7. SOLR-5652.nocommit.patch
          24 kB
          Chris M. Hostetter
        8. SOLR-5652.patch
          24 kB
          Chris M. Hostetter
        9. SOLR-5652-dont-sort-on-any-dv-fields-when-codec-doesnt-support-missing-dvs.patch
          1 kB
          Steven Rowe
        10. str_dv.post-patch.log.txt
          6.60 MB
          Steven Rowe

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment