On Wed, 14 Feb 2018 13:58:16 -0800
Ben Pfaff wrote:
> On Tue, Feb 13, 2018 at 02:57:40PM +0100, Jakub Sitnicki wrote:
> > Each time ovn-northd processes the NBDB contents it has to compute the
> > hash of every logical flow stored in the SBDB in order to identify ones
> > that need
On Tue, Feb 13, 2018 at 02:57:40PM +0100, Jakub Sitnicki wrote:
> Each time ovn-northd processes the NBDB contents it has to compute the
> hash of every logical flow stored in the SBDB in order to identify ones
> that need adding to or deleting from SBDB (build_lflows()).
>
> Avoid it by storing
Nice!
Acked-by: Mark Michelson
On 02/13/2018 07:57 AM, Jakub Sitnicki wrote:
Each time ovn-northd processes the NBDB contents it has to compute the
hash of every logical flow stored in the SBDB in order to identify ones
that need adding to or deleting from SBDB
Each time ovn-northd processes the NBDB contents it has to compute the
hash of every logical flow stored in the SBDB in order to identify ones
that need adding to or deleting from SBDB (build_lflows()).
Avoid it by storing the logical flow hash together with its fields the
moment we first add it