[
https://issues.apache.org/jira/browse/BOOKKEEPER-899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15172333#comment-15172333
]
ASF GitHub Bot commented on BOOKKEEPER-899:
-------------------------------------------
GitHub user sboobna opened a pull request:
https://github.com/apache/bookkeeper/pull/18
BOOKKEEPER-899: continue monitoring the ledger disk after it goes int…
…o read only mode
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sboobna/bookkeeper BOOKKEEPER-899
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bookkeeper/pull/18.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #18
----
commit 6ec6d04e373bbc21e523fa5fca926509ac98bf7a
Author: Siddharth Boobna <[email protected]>
Date: 2016-02-16T22:31:32Z
BOOKKEEPER-899: continue monitoring the ledger disk after it goes into read
only mode
Change-Id: I7f10a2c45710cce39cc4706a1ac6becc3628c650
----
> Bookie should return to read-write mode once the disk usage drops before the
> threshold
> --------------------------------------------------------------------------------------
>
> Key: BOOKKEEPER-899
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-899
> Project: Bookkeeper
> Issue Type: Bug
> Components: bookkeeper-server
> Affects Versions: 4.3.2
> Reporter: Siddharth Sunil Boobna
> Assignee: Siddharth Sunil Boobna
>
> Once a bookie goes above the diskUsageThreshold and becomes readOnly, it will
> never go back to readWrite even if the disk usage drops significantly.
> When the LedgerDirsMonitor gets a NoWritableLedgerDirException, it will put
> the bookie in read only mode, but will also stop monitoring and never goes
> back to read-write mode when the disk usage drops below threshold.
> Solution:
> The LedgerDirsMonitor thread should not break out of the while loop when it
> gets NoWritableLedgerDirException, and should continue monitoring the
> directories.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)