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

Do SolrCore.close() in a refcounted way

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      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. refcount_example.patch
          3 kB
          Yonik Seeley
        2. solr-647.patch
          41 kB
          Yonik Seeley
        3. solr-647.patch
          41 kB
          Yonik Seeley
        4. solr-647.patch
          41 kB
          Yonik Seeley
        5. solr-647.patch
          21 kB
          Henri Biestro
        6. solr-647.patch
          17 kB
          Henri Biestro
        7. solr-647.patch
          16 kB
          Henri Biestro
        8. solr-647.patch
          22 kB
          Henri Biestro
        9. solr-647.patch
          16 kB
          Henri Biestro
        10. solr-647.patch
          13 kB
          Henri Biestro
        11. solr-647.patch
          9 kB
          Henri Biestro
        12. solr-647.patch
          8 kB
          Henri Biestro
        13. solr-647.patch
          8 kB
          Henri Biestro
        14. SOLR-647.patch
          4 kB
          Noble Paul
        15. SOLR-647.patch
          4 kB
          Noble Paul

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: