You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relates to PR #536
In order to support optimized implementation of RedundancyQuery, optimized properties are kept per each rule of policy. Optimized properties per policy are lazily evaluated from rules' properties at the first call of allowed_connections_optimized.
However, when changing a query, the domain of src_peers/dst_peers is changed, and optimized properties are rebuilt according to the new domain, while keeping copies of the original optimized properties. In this case, per policy properties should be recalculated, according to the updated rules' properties.
Possible optimization: consider keeping copies of per policy properties as well, to avoid their recalculation.
The text was updated successfully, but these errors were encountered:
Relates to PR #536
In order to support optimized implementation of
RedundancyQuery
, optimized properties are kept per each rule of policy. Optimized properties per policy are lazily evaluated from rules' properties at the first call ofallowed_connections_optimized
.However, when changing a query, the domain of
src_peers/dst_peers
is changed, and optimized properties are rebuilt according to the new domain, while keeping copies of the original optimized properties. In this case, per policy properties should be recalculated, according to the updated rules' properties.Possible optimization: consider keeping copies of per policy properties as well, to avoid their recalculation.
The text was updated successfully, but these errors were encountered: