]> git.puffer.fish Git - mirror/frr.git/commit
mgmtd, lib: remove batch ids from all messages 14657/head
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 20 Oct 2023 21:51:01 +0000 (00:51 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Sun, 12 Nov 2023 01:20:54 +0000 (03:20 +0200)
commitb3b5951ee7c74be9d53771a12e31d31e5c8e36c0
tree431c50c9665a00998e6bda12bb43b73789362c6c
parent19bcca4f2e9a3ee3c8cc16608dcf303241bbf014
mgmtd, lib: remove batch ids from all messages

Batch IDs are only used to verify that all messages were received and
processed by a backend. It's not necessary to do that as we use reliable
stream transport - messages can't be dropped or received out of order.

This commit also fixes possible race condition that can happen if
one backend process messages slower than other backends.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/mgmt.proto
lib/mgmt_be_client.c
mgmtd/mgmt_be_adapter.c
mgmtd/mgmt_be_adapter.h
mgmtd/mgmt_txn.c
mgmtd/mgmt_txn.h