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

disable compaction when disk becomes full, otherwise compaction will fill up disk quickly

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.3
    • Fix Version/s: 4.4.0
    • Component/s: bookkeeper-server
    • Labels:
      None

      Description

      In doCompactEntryLogs, Entries are added to new logs, while all old logs were not released until the end of handling. So during the process, a lot of space will be used. Need to disable compaction when disk becomes full, otherwise compaction will fill up disk quickly.

      I would like to change old "forced garbage collection" logic, and suspend major compaction when it reaches warn threshold, suspend minor compaction when it reaches critical threshold.

        Attachments

        1. BOOKKEEPER-836.patch
          9 kB
          Jia Zhai
        2. BOOKKEEPER-836-v2.patch
          12 kB
          Jia Zhai
        3. BOOKKEEPER-836-v3.patch
          13 kB
          Jia Zhai

          Activity

            People

            • Assignee:
              zhaijia Jia Zhai
              Reporter:
              zhaijia Jia Zhai
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: