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

add a shutdown hook to shut down bookie server safely.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • None
    • None

    Description

      Currently, if Bookie server is terminated, e.g. CTRL-C, kill -SIGTERM pid, kill pid, the data buffered in BufferedChannel has no chanced to be flushed, which may make files corrupted.

      We should add a shutdown hook to shut down bookie server safely, which will be called when JVM is terminated.

      Attachments

        1. BOOKKEEPER-114.patch
          1 kB
          Sijie Guo

        Activity

          People

            ikelly Ivan Kelly
            hustlmsp Sijie Guo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: