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

Bookie returns incorrect exitcode, ExitCode.ZK_REG_FAIL is getting overridden

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.2.2, 4.3.0
    • bookkeeper-server
    • 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

            rakeshr Rakesh Radhakrishnan
            rakeshr Rakesh Radhakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: