On Tue, Dec 15, 2015 at 7:06 PM, Han Zhou <zhou...@gmail.com> wrote:

> Cached json objects were reused when sending notifications to
> clients. This created a problem when there were different versions
> of monitors coexiting. E.g. clients expecting version2 notification
> would receive messages with method == "update2" but payload in
> version1 format, which end up failure of processing the updates.
>
> This patch fixes the issue by using dedicated cache for each version.
>
>
Is it really necessary to have json cache array? How about extending
ovsdb_monitor_json_cache_node to also include version, than multiples
versions
of json_object can co-exist in a single cache.  What do you think?
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to