Comment 6 for bug 1499647

Revision history for this message
Assaf Muller (amuller) wrote : Re: L3 HA: extra L3HARouterAgentPortBinding created for routers

Wow that is weird. Any idea how that could happen? I don't understand how putting the notification in or out of the transaction can affect the results of your test. For correctness case I think you must commit first then notify the agent, otherwise you risk the agent querying about a router that doesn't even exist yet in the DB. Also putting an RPC method in the transaction violates the cardinal rule of keeping transactions as short as possible.