Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-642

Bookie returns incorrect exitcode, ExitCode.ZK_REG_FAIL is getting overridden

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.2, 4.3.0
    • Component/s: bookkeeper-server
    • Labels:
      None

      Description

      When bookie registration fails due to zookeeper exception, its not exiting with ExitCode.ZK_REG_FAIL.

      Bookie.java

             try {
                  registerBookie(conf);
              } catch (IOException e) {
                  LOG.error("Couldn't register bookie with zookeeper, shutting down", e);
                  shutdown(ExitCode.ZK_REG_FAIL);
              }
      

        Attachments

        1. 0001-BOOKKEEPER-642.patch
          3 kB
          Rakesh Radhakrishnan

          Activity

            People

            • Assignee:
              rakeshr Rakesh Radhakrishnan
              Reporter:
              rakeshr Rakesh Radhakrishnan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: