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

fd leaking when move ledger index file

    Details

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

      Description

      a file info is get when moving ledger index, but it doesn't release after use. so the reference counting for file info stays more than zero, the file channel would never be closed even the file is evicted from ledger cache.

        Attachments

        1. 0001-BOOKKEEPER-554.patch
          4 kB
          Ivan Kelly
        2. BOOKKEEPER-554.diff
          3 kB
          Sijie Guo

          Activity

            People

            • Assignee:
              hustlmsp Sijie Guo
              Reporter:
              hustlmsp Sijie Guo
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: