nickva opened a new pull request, #5150:
URL: https://github.com/apache/couchdb/pull/5150

   Previously, the rexi_buffer metric reported just the mailbox size of the 
buffers. However rexi buffers are special as they themselves act as explicit 
message queues, and current length of those explicit buffers wasn't reflected 
anywhere in metrics.
   
   So, improve the metric usefulness and reflect both the explicit and the 
implicit queue lengths.
   
   There was already an existent `gen_buffered_count` gen_server call, however 
since the buffers could potentially be in the hot path, avoid using and instead 
use a persistent term + a counter scheme similar how we do for all couch_stats 
metrics.
   
   In addition, noticed that rexi had no tests at all. It is of course, battle 
tested in production, but since we made changes to it, added some tests to 
cover the changed bits.
   


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