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

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



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


      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)


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

        Issue Links



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