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

When all disks are full, start Bookie in RO mode if RO mode is enabled

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5.0
    • Component/s: None
    • Labels:
      None

      Description

      • When all disks are full start Bookie in RO mode if RO mode is enabled
      • This will work only if "isForceGCAllowWhenNoSpace" is allowed, since LedgerDirsManager.getWritableLedgerDirsForNewLog will be able to find new writableLedgerDir even when all disks are full.
      • If bookie has died abruptly then it may have missed flushing EntryMemtable and
        IndexInMemoryPageManager. So next time when it starts when disc is full
        it fails to create index file and it shuts down. So Bookie should be able to create index file though it has reached the diskusagethreshold, while starting the Bookie in Readonly Mode. But ofcourse there should be some config to safeguard when disk usable space is so low.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                reddycharan18@gmail.com Charan Reddy Guttapalem
                Reporter:
                reddycharan18@gmail.com Charan Reddy Guttapalem
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: