Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      The motivation is in SOLR-10611, the earlier discussion and review is done in enclosing ticket SOLR-9867.

      1. SOLR-10615.patch
        2 kB
        Mikhail Khludnev

        Issue Links

          Activity

          Hide
          mkhludnev Mikhail Khludnev added a comment - - edited

          SOLR-10615.patch

          • adds init() latch without any performace implication see doFilter().
          • invocation before init() hangs on latch.await()
          • invocation after shutdown responds 404 (Not found) see SOLR-10611 re UnavailableException, we probably could respond 503 (temporarly unavailable) on pre init() request, but it makes no sense since introducing latch.
          Show
          mkhludnev Mikhail Khludnev added a comment - - edited SOLR-10615.patch adds init() latch without any performace implication see doFilter(). invocation before init() hangs on latch.await() invocation after shutdown responds 404 (Not found) see SOLR-10611 re UnavailableException , we probably could respond 503 (temporarly unavailable) on pre init() request, but it makes no sense since introducing latch.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit c02d490d2113c2b3fbe5826f334592cdb65a3dfe in lucene-solr's branch refs/heads/master from Mikhail Khludnev
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c02d490 ]

          SOLR-10615: latching SDF.doFilter() on init(); respond 404 instead of 500 in case of init failures or corecontainer shutdown.

          Show
          jira-bot ASF subversion and git services added a comment - Commit c02d490d2113c2b3fbe5826f334592cdb65a3dfe in lucene-solr's branch refs/heads/master from Mikhail Khludnev [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c02d490 ] SOLR-10615 : latching SDF.doFilter() on init(); respond 404 instead of 500 in case of init failures or corecontainer shutdown.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 8c03436b40ac08dd18fed26a7dd704241a27de85 in lucene-solr's branch refs/heads/branch_6x from Mikhail Khludnev
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8c03436 ]

          SOLR-10615: latching SDF.doFilter() on init(); respond 404 instead of 500 in case of init failures or corecontainer shutdown.

          Show
          jira-bot ASF subversion and git services added a comment - Commit 8c03436b40ac08dd18fed26a7dd704241a27de85 in lucene-solr's branch refs/heads/branch_6x from Mikhail Khludnev [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8c03436 ] SOLR-10615 : latching SDF.doFilter() on init(); respond 404 instead of 500 in case of init failures or corecontainer shutdown.
          Hide
          mkhludnev Mikhail Khludnev added a comment -

          Although, I'm open for concerns about UnavailableException.

          Show
          mkhludnev Mikhail Khludnev added a comment - Although, I'm open for concerns about UnavailableException.

            People

            • Assignee:
              Unassigned
              Reporter:
              mkhludnev Mikhail Khludnev
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development