[ovs-dev] [PATCH] ovsdb-server: fix monitor counters reported by memory/show

Ben Pfaff blp at ovn.org
Fri Feb 5 19:02:44 UTC 2016


On Wed, Feb 03, 2016 at 09:35:36PM -0800, Andy Zhou wrote:
> Commit 4c2809787cdbc774 (ovsdb-monitor: add json cache) introduced
> an optimization that allows jsonrpc session to share monitors.
> However, the memory/show implementation was not updated to match the
> implementation; it still assumes that each jsonrpc session uses its
> own monitor, thus are likely to over reporting the number.
> 
> This patch fix the bug and reports the actual number of monitor used
> by the ovsdb-server.
> 
> Signed-off-by: Andy Zhou <azhou at ovn.org>

Acked-by: Ben Pfaff <blp at ovn.org>



More information about the dev mailing list