Dear list!

Author: shakedm <[email protected]>
Number of patches: 1

This is an automated relay of the Github pull request:
   BUG fix in stream.c where counters will zero because of failed updates

Patch title(s): 
   fix a BUG in stream.c where counters will zero because of failed updates

Link:
   https://github.com/haproxy/haproxy/pull/2710

Edit locally:
   wget https://github.com/haproxy/haproxy/pull/2710.patch && vi 2710.patch

Apply locally:
   curl https://github.com/haproxy/haproxy/pull/2710.patch | git am -

Description:
   The current code only checked if bytes is initialized but during
   monitoring I found many instances in which the metrics will randomly
   drop to zero.  this fix handles that scenario. 
   by casting and
   verifying that bytes are greater than 0.

Instructions:
   This github pull request will be closed automatically; patch should be
   reviewed on the haproxy mailing list ([email protected]). Everyone is
   invited to comment, even the patch's author. Please keep the author and
   list CCed in replies. Please note that in absence of any response this
   pull request will be lost.


Reply via email to