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

CdcrVersionReplicationTest failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.3, 7.0
    • None
    • None

    Description

      it fails.

      The problem is over there when it deletes that temporal collection (which is a tricky thing per se) while it's still in recovery Solr Cloud went crazy: it closes the core, and almost done it, but it can't be unloaded because PeerSync (remember, it's recovering) open it ones, and it bloat logs with

      105902 INFO (qtp3284815-656) [n:127.0.0.1:41440_ia%2Fd ] o.a.s.c.SolrCore Core collection1 is not yet closed, waiting 100 ms before checking again.

      But then, something spawn too many request /get?? which deadlocks until heap is exceeded and it dies. The fix is obvious, just to wait until recoveries finishes, before removing tmp_collection.
      Beside of this particular fix,is there any ideas about deadlock caused by deleting recovering collection?

      Attachments

        1. CDcr failure.txt
          10.63 MB
          Mikhail Khludnev
        2. cdcr-stack.txt
          16.08 MB
          Mikhail Khludnev
        3. cdcr-success.txt
          35 kB
          Mikhail Khludnev
        4. SOLR-9639.patch
          1 kB
          Mikhail Khludnev
        5. SOLR-9639.patch
          0.6 kB
          Mikhail Khludnev

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mkhl Mikhail Khludnev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: