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

UpdateLog metrics are not initialized on core reload

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.4
    • metrics
    • None

    Description

      My Jenkins found a branch_7x seed for TestRecovery.testBuffering() and TestRecovery.testCorruptLog() that reproduces for me 5/5 times (when I exclude -Dtests.method=... from the cmdline):

      Checking out Revision 1ef988a26378137b1e1f022985dacee1f557f4fc (refs/remotes/origin/branch_7x)
      [...]
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestRecovery -Dtests.method=testBuffering -Dtests.seed=FC96FD26F8A8CC6F -Dtests.slow=true -Dtests.locale=de-GR -Dtests.timezone=Europe/London -Dtests.asserts=true -Dtests.file.encoding=UTF-8
         [junit4] FAILURE 0.02s J3  | TestRecovery.testBuffering <<<
         [junit4]    > Throwable #1: java.lang.AssertionError: expected:<1> but was:<3>
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([FC96FD26F8A8CC6F:E178530D59F16D44]:0)
         [junit4]    > 	at org.apache.solr.search.TestRecovery.testBuffering(TestRecovery.java:494)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
      [...]
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestRecovery -Dtests.method=testCorruptLog -Dtests.seed=FC96FD26F8A8CC6F -Dtests.slow=true -Dtests.locale=de-GR -Dtests.timezone=Europe/London -Dtests.asserts=true -Dtests.file.encoding=UTF-8
         [junit4] ERROR   0.35s J3  | TestRecovery.testCorruptLog <<<
         [junit4]    > Throwable #1: java.lang.RuntimeException: mismatch: '3'!='0' @ response/numFound
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([FC96FD26F8A8CC6F:E4B49F502909DB3]:0)
         [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertJQ(SolrTestCaseJ4.java:990)
         [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertJQ(SolrTestCaseJ4.java:937)
         [junit4]    > 	at org.apache.solr.search.TestRecovery.testCorruptLog(TestRecovery.java:1367)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
      [...]
         [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): {_root_=PostingsFormat(name=LuceneVarGapFixedInterval), id=PostingsFormat(name=Direct)}, docValues:{_version_=DocValuesFormat(name=Lucene70), val_i_dvo=DocValuesFormat(name=Memory), val_i=DocValuesFormat(name=Memory)}, maxPointsInLeafNode=1937, maxMBSortInHeap=7.529691259992591, sim=RandomSimilarity(queryNorm=false): {}, locale=de-GR, timezone=Europe/London
         [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_151 (64-bit)/cpus=16,threads=1,free=217064096,total=530579456
      

      Attachments

        1. SOLR-11929.patch
          2 kB
          Steven Rowe
        2. SOLR-11929.patch
          0.6 kB
          Steven Rowe

        Activity

          People

            sarowe Steven Rowe
            sarowe Steven Rowe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: