Vanlightly opened a new pull request #2866:
URL: https://github.com/apache/bookkeeper/pull/2866


   ### Motivation
   
   See BP-44 for motivation.
   
   ### Changes
   
   Addition of metrics to explicitly record rejected read and write requests. 
Requests are rejected because either the write thread the request was routed to 
had a full task queue, or because the DbLedgerStorage write cache is full and 
the timeout reached.
   
   Having metrics specifically for rejected requests is vitally important for 
diagnosing when a bookie is under stress.
   
   Additionally, the `addEntryStats` and `readEntryStats` OpStatsLoggers are 
changed to be thread-scoped as they execute on the read/write thread pools 
which allows for more detailed drill down on read/write op execution by thread.
   
   Master Issue: #2834


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to