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

Do SolrCore.close() in a refcounted way

    XMLWordPrintableJSON

Details

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

    Description

      The method SolrCore.close() directly closes the core . It can cause Exceptions for in-flight requests. The close() method should just do a decrement on refcount and the actual close must happen when the last request being processed by that core instance is completed

      Attachments

        1. SOLR-647.patch
          4 kB
          Noble Paul
        2. SOLR-647.patch
          4 kB
          Noble Paul
        3. solr-647.patch
          8 kB
          Henri Biestro
        4. solr-647.patch
          8 kB
          Henri Biestro
        5. solr-647.patch
          9 kB
          Henri Biestro
        6. solr-647.patch
          13 kB
          Henri Biestro
        7. solr-647.patch
          16 kB
          Henri Biestro
        8. refcount_example.patch
          3 kB
          Yonik Seeley
        9. solr-647.patch
          22 kB
          Henri Biestro
        10. solr-647.patch
          16 kB
          Henri Biestro
        11. solr-647.patch
          17 kB
          Henri Biestro
        12. solr-647.patch
          21 kB
          Henri Biestro
        13. solr-647.patch
          41 kB
          Yonik Seeley
        14. solr-647.patch
          41 kB
          Yonik Seeley
        15. solr-647.patch
          41 kB
          Yonik Seeley

        Issue Links

          Activity

            People

              yseeley@gmail.com Yonik Seeley
              noble.paul Noble Paul
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: