Re: [ovs-dev] [PATCH ovn v5 5/7] northd: Create pb after tunnel id is allocated.

2024-04-11 Thread Ihar Hrachyshka
Sorry, this is incorrect, the order of steps here is important. Instead, we should clean up the newly created record on failure. (Other patches in the series are ok; will send an updated series.) On Thu, Apr 11, 2024 at 6:59 PM Ihar Hrachyshka wrote: > This allows to avoid cleanup of the record

[ovs-dev] [PATCH ovn v5 5/7] northd: Create pb after tunnel id is allocated.

2024-04-11 Thread Ihar Hrachyshka
This allows to avoid cleanup of the record in case tunnel id fails to allocate. Signed-off-by: Ihar Hrachyshka --- northd/northd.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/northd/northd.c b/northd/northd.c index 3d2715911..5a0225189 100644 ---