Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-944 Multiple issues and improvements to BK Compaction.
  3. BOOKKEEPER-949

Allow entryLog creation even when bookie is in RO mode for compaction

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.3.2
    • 4.5.0
    • bookkeeper-server
    • None

    Description

      When storage usage goes above threshold, there won't be any writable ledger dirs available and bookie turns RO. There can be multiple ways bookie can start compaction including isForceGCAllowWhenNoSpace enabled or by other means. When this happens the compaction process need to create a new entrylog to make progress on compaction. Creation of entrylog will fail because there are no writable ledger dirs.

      This is to allow entrylog creation if there is enough disk space even though used space is above threshold. Because after compaction space will stay the same or go below the threshold.

      Attachments

        Issue Links

          Activity

            People

              jujjuri JV Jujjuri
              jujjuri JV Jujjuri
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: