Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport 'Fix performance issue with attribute encryption/decryption' to v0.27 #12793

Conversation

andreslucena
Copy link
Member

🎩 What? Why?

Backport #12568 to v0.27

♥️ Thank you!

* Fix performance issue with attribute encryption

Creating new instances of the
causes delay every time an attribute value is decrypted. We are
using exactly the same key and options for all attributes, so
we can cache this variable and by doing so highly improve the
performance.

* Remove unnecessary comment

* Fix the attribute encryptor specs

* Clear the shared  variable before and after specs

In order to ensure that no previous specs are interfering with
this spec.
@andreslucena andreslucena added backport Pull Requests that are a backport for a fixed bug module: core type: fix PRs that implement a fix for a bug labels Apr 29, 2024
@alecslupu alecslupu self-assigned this Apr 29, 2024
@alecslupu alecslupu added this to the 0.27.6 milestone Apr 29, 2024
Copy link
Contributor

@alecslupu alecslupu left a comment

Choose a reason for hiding this comment

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

👍

@alecslupu alecslupu merged commit d6989ac into release/0.27-stable Apr 29, 2024
43 checks passed
@alecslupu alecslupu deleted the backport/0.27/fix-performance-issue-with-att-12568 branch April 29, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Pull Requests that are a backport for a fixed bug module: core type: fix PRs that implement a fix for a bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants