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

BufferedChannel read endless when the remaining bytes of file is less than the capacity of read buffer

    XMLWordPrintableJSON

Details

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

    Description

      If last record in entry log file is truncated (length of data is short than expected length), bookie went into infinite loop on reading this record.

      A truncated record can be caused in following cases:
      1) bookie server is killed during bookie restart to relay logs.
      2) bookie server is killed when bookie does adding entry operation.

      Attachments

        1. bookkeeper-61.patch
          4 kB
          Sijie Guo

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: