[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15184492#comment-15184492
 ] 

ASF GitHub Bot commented on BOOKKEEPER-899:
-------------------------------------------

Github user sijie commented on the pull request:

    https://github.com/apache/bookkeeper/pull/18#issuecomment-193621938
  
    the change looks good to me. +1


> 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)

Reply via email to