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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2.3
    • 4.4.0
    • bookkeeper-server
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: