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

TriLevelCompositeIdRoutingTest failure: same route prefix maped to multiple shards

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      thetaphi's 8x jenkins job just identified a reproducing seed that causes TriLevelCompositeIdRoutingTest to fail after detecting 2 docs with matching route prefixes on different shards...

         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TriLevelCompositeIdRoutingTest -Dtests.method=test -Dtests.seed=A6B6F0104FE6018F -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=sr-Latn -Dtests.timezone=Pacific/Tongatapu -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
         [junit4] FAILURE 9.38s J0 | TriLevelCompositeIdRoutingTest.test <<<
         [junit4]    > Throwable #1: org.junit.ComparisonFailure: routePrefix app9/2!user32 found in multiple shards expected:<shard[3]> but was:<shard[2]>
         [junit4]    >        at __randomizedtesting.SeedInfo.seed([A6B6F0104FE6018F:2EE2CFCAE11A6C77]:0)
         [junit4]    >        at org.apache.solr.cloud.TriLevelCompositeIdRoutingTest.test(TriLevelCompositeIdRoutingTest.java:122)
      

      It's possible this is just a bug I introduced in SOLR-13210 due to a missunderstanding in how routePrefixes that use a bit mask (ie: /2 in the assertion failure) are expected to work – but I thought i had that squared away based on shalin's feedback in SOLR-13210

      Attachments

        1. thetaphi_Lucene-Solr-8.x-Linux_342.log.txt
          7.71 MB
          Chris M. Hostetter
        2. TriLevelCompositeIdRoutingTest-failure-with-debug-log.txt
          977 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: