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

Cache thread should wait until old entries are collected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2.0
    • hedwig-server
    • None

    Description

      Ivan commented this issue in BOOKKEEPER-461, but seems that the last patch I attached doesn't address this comment.

      https://issues.apache.org/jira/browse/BOOKKEEPER-461?focusedCommentId=13503945&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13503945

      so when publish speed is larger than deliver/consume speed, it might overwhelm readAhead cache and putting lots of collectOldEntries operations in request queue, finally it OOM.

      Attachments

        1. BOOKKEEPER-531.patch
          25 kB
          Sijie Guo
        2. BOOKKEEPER-531.patch
          25 kB
          Sijie Guo
        3. BOOKKEEPER-531.patch
          18 kB
          Sijie Guo

        Issue Links

          Activity

            People

              hustlmsp Sijie Guo
              hustlmsp Sijie Guo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: