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

bookie server doesn't quit when running out of disk space

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • bookkeeper-server
    • None

    Description

      we found that the publish throughput drops down when one bookie server ran out of disk space (due to we don't do log rotation which exhausts disk space).

      did some investigation, we found that bookie server doesn't quit when encountering no disk space issue. so hub server treat this bookie server as available. The adding requests would be sent to this bookie server, some adding requests are put in journal queue to flush, but the journal flush thread has quit due to no disk space. so these adding requests didn't respond to bookie client until it read timeout and chose other bookie servers.

      we did an experiment to shut down the ran-out-of-disk-space bookie, the publish throughput went up again quickly.

      Attachments

        1. BK-180.diff
          7 kB
          Sijie Guo
        2. BK-180.diff_v2
          13 kB
          Sijie Guo
        3. BK-180.diff_v3
          15 kB
          Sijie Guo
        4. BK-180.diff_v4
          16 kB
          Sijie Guo
        5. conn3.png
          6 kB
          Sijie Guo

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: