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

2016-02-05 Thread Andy Zhou
On Fri, Feb 5, 2016 at 11:02 AM, Ben Pfaff wrote: > 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

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

2016-02-05 Thread Ben Pfaff
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

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

2016-02-03 Thread Andy Zhou
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