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

Improve ZkController::getLeader exception handling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.0
    • None
    • SolrCloud
    • None

    Description

      ZkController::getLeader does not handle InterruptedException, and instead rethrows it as a SolrException. There's a couple other improvements we could make around the exception handling as well:

      • Not using exceptions for flow control
      • Avoid log-and-rethrow
      • The exception message could provide remedy steps

      Attachments

        1. SOLR-9155.patch
          7 kB
          Mike Drob

        Activity

          People

            Unassigned Unassigned
            mdrob Mike Drob
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: