On Mon, Feb 22, 2016 at 04:28:12PM -0800, Andy Zhou wrote:
> dbmon's changes should be stored with the next transaction number,
> rather than the current transaction number.  This bug causes the
> changes of a transaction stored in a monitor to be unnoticed by
> the jsonrpc connections that is responsible for flush the monitor
> content.
> 
> However, the bug was not noticed until it was exposed by a later
> optimization patch: "avoid unnecessary call to ovsdb_monitor_get_update()."
> The lack of optimization means that the update is still generated
> when 'unflushed' equals to n_transactions + 1, which should have
> indicated the monitor has been flushed already.
> 
> Signed-off-by: Andy Zhou <az...@ovn.org>
> 
> ---
> v1->v2:
>      *Explain the bug in more detail in the commit message.
>      *roll back the n_transactions if possible.

Acked-by: Ben Pfaff <b...@ovn.org>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to