Skip to content

perf(pipeilined): Remove rule map entry in rule Deactivate call#7539

Merged
pshelar merged 1 commit intomagma:masterfrom
pshelar:use-del-for-update_all_ue_versions
Jun 14, 2021
Merged

perf(pipeilined): Remove rule map entry in rule Deactivate call#7539
pshelar merged 1 commit intomagma:masterfrom
pshelar:use-del-for-update_all_ue_versions

Conversation

@pshelar
Copy link
Copy Markdown
Contributor

@pshelar pshelar commented Jun 14, 2021

pipelined updates version of the rule on Deactivate call. This could
result in lower performance is case of higher number of UEs.
Deleting the entry improves performance and has same result.

Signed-off-by: Pravin B Shelar [email protected]

Summary

Test Plan

make test

Additional Information

  • This change is backwards-breaking

@pshelar pshelar requested review from a team and koolzz June 14, 2021 18:03
@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines. label Jun 14, 2021
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for opening a PR! 💯 Please note that all commits must be signed off. This is enforced by the DCO check.

Howto

  • Reviews. The "Reviewers" listed for this PR are the Magma maintainers who will shepherd it.
  • Checks. All required CI checks must pass before merge.
  • Merge. Once approved and passing CI checks, use the ready2merge label to indicate the maintainers can merge your PR.

More info

Please take a moment to read through the Magma project's

If this is your first Magma PR, also consider reading

@magmabot magmabot added the component: agw Access gateway-related issue label Jun 14, 2021
Copy link
Copy Markdown
Contributor

@koolzz koolzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, I think with the new save/version from sessiond this is a safe change. @themarwhal just tagging you here for reference

@themarwhal
Copy link
Copy Markdown
Member

lgtm, I think with the new save/version from sessiond this is a safe change. @themarwhal just tagging you here for reference

This seems safe I think. When we delete the rules, we probably don't care about the version anymore in PipelineD.

pipelined updates version of the rule on Deactivate call. This could
result in lower performance is case of higher number of UEs.
Deleting the entry improves performance and has same result.

Signed-off-by: Pravin B Shelar <[email protected]>
@pshelar pshelar force-pushed the use-del-for-update_all_ue_versions branch from e4523ee to f59af86 Compare June 14, 2021 21:06
@pshelar pshelar merged commit 8dbf40f into magma:master Jun 14, 2021
@pshelar pshelar added the apply-v1.5 Apply this commit to the v1.5 release branch as well. label Jun 17, 2021
themarwhal pushed a commit that referenced this pull request Jun 17, 2021
pipelined updates version of the rule on Deactivate call. This could
result in lower performance is case of higher number of UEs.
Deleting the entry improves performance and has same result.

Signed-off-by: Pravin B Shelar <[email protected]>
rmeleromira pushed a commit to rmeleromira/magma that referenced this pull request Jul 24, 2021
…a#7539)

pipelined updates version of the rule on Deactivate call. This could
result in lower performance is case of higher number of UEs.
Deleting the entry improves performance and has same result.

Signed-off-by: Pravin B Shelar <[email protected]>
Signed-off-by: Ramon Melero <[email protected]>
m-trojanowski pushed a commit to openEPC/magma that referenced this pull request Oct 20, 2021
…a#7539)

pipelined updates version of the rule on Deactivate call. This could
result in lower performance is case of higher number of UEs.
Deleting the entry improves performance and has same result.

Signed-off-by: Pravin B Shelar <[email protected]>
m-trojanowski pushed a commit to openEPC/magma that referenced this pull request Oct 20, 2021
…a#7539)

pipelined updates version of the rule on Deactivate call. This could
result in lower performance is case of higher number of UEs.
Deleting the entry improves performance and has same result.

Signed-off-by: Pravin B Shelar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apply-v1.5 Apply this commit to the v1.5 release branch as well. backported-v1.5 component: agw Access gateway-related issue size/S Denotes a PR that changes 10-29 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants