Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18436

Random deadlock during Solr cores initialization

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 13.2, 12.10.6
    • 12.10.4
    • Search - Solr
    • None
    • Unknown
    • N/A

    Description

      Sometimes we end up with what appears to be a race condition leading to a deadlock between several of the cores's configuration loading while loading some required classes.

      In such a case you get the XWiki startup stuck and the log ending with:

      2021-03-10 14:18:29,526 [main] INFO  o.x.s.s.i.EmbeddedSolr         - Starting embedded Solr server... 
      2021-03-10 14:18:29,527 [main] INFO  o.x.s.s.i.EmbeddedSolr         - Using Solr home directory: [/var/lib/xwiki/data/store/solr] 
      2021-03-10 14:18:31,078 [main] WARN  o.e.j.u.s.S.config             - Trusting all certificates configured for Client@40b4a59c[provider=null,keyStore=null,trustStore=null] 
      2021-03-10 14:18:31,078 [main] WARN  o.e.j.u.s.S.config             - No Client EndPointIdentificationAlgorithm configured for Client@40b4a59c[provider=null,keyStore=null,trustStore=null] 
      2021-03-10 14:18:31,539 [main] WARN  o.e.j.u.s.S.config             - Trusting all certificates configured for Client@7fd03b0a[provider=null,keyStore=null,trustStore=null] 
      2021-03-10 14:18:31,540 [main] WARN  o.e.j.u.s.S.config             - No Client EndPointIdentificationAlgorithm configured for Client@7fd03b0a[provider=null,keyStore=null,trustStore=null] 
      2021-03-10 14:18:31,591 [main] WARN  o.a.s.c.CoreContainer          - Not all security plugins configured!  authentication=disabled authorization=disabled.  Solr is only as secure as you make it. Consider configuring authentication/authorization before exposing Solr to users internal or external.  See https://s.apache.org/solrsecurity for more info 
      

      See https://issues.apache.org/jira/browse/SOLR-15254 for details.

      The workaround is to restart several times until the Solr.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: