[ovs-dev] [PATCH v2 1/9] jsonrpc-server: Wake up jsonrpc session if there are completed triggers.
Dumitru Ceara
dceara at redhat.com
Fri Jun 25 13:33:57 UTC 2021
On 6/12/21 4:00 AM, Ilya Maximets wrote:
> If there are completed triggers, jsonrpc server should wake up and
> update clients with the new data, but there is no such condition
> in ovsdb_jsonrpc_session_wait(). For some reason this doesn't result
> in any processing delays in current code, probably because there are
> always some other types of events in this case that could wake ovsdb
> server up. But it will become a problem in upcoming ovsdb 'relay'
> service model because triggers could be completed from a different
> place, i.e. after receiving transaction reply from the relay source.
>
> Fix that by waking up ovsdb-server in case there are completed triggers
> that needs to be handled.
>
> Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
> ---
Acked-by: Dumitru Ceara <dceara at redhat.com>
More information about the dev
mailing list