You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/04/08 18:29:42 UTC

[GitHub] sijie opened a new pull request #1322: Improve logging on ledger dirs monitor to avoid log flooding

sijie opened a new pull request #1322: Improve logging on ledger dirs monitor to avoid log flooding
URL: https://github.com/apache/bookkeeper/pull/1322
 
 
   Descriptions of the changes in this PR:
   
   *Problem*
   
   When a bookie is in readonly mode, the ledger dirs monitor will keep check the disk usage and generate tons of logs if the disk usage is unchanged. This makes debugging much difficult.
   
   *Solution*
   
   - Improve the logging logic in ledger dirs monitor to only log changes when disk usage is changed.
   - Disable logging on checking threshold for high priority writes. Only log changes when high priority writes availability is changed.
   
   *Result*
   
   This reduces the logging when a bookie is outage in readonly mode.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services