Skip to content

Conversation

@khaykov
Copy link
Contributor

@khaykov khaykov commented Feb 20, 2025

Fixes #705

We sometimes get issue with in AztecAttributes, that hint at some sort of data corruption, and I was able to syntetically cause crashes with multi threaded overloading.

In this PR we ensure that only one thread can operate on the attributes at any given time, thereby preventing race conditions and ensuring data consistency during concurrent operations.

There is not much to test, just make sure the demo app and client side implementation are working.

Review

@[USER_NAME]

Make sure strings will be translated:

  • If there are new strings that have to be translated, I have added them to the client's strings.xml as a part of the integration PR.

@khaykov khaykov assigned danilo04 and zwarm and unassigned danilo04 and zwarm Feb 20, 2025
@khaykov khaykov requested review from danilo04 and zwarm February 20, 2025 19:05
@zwarm zwarm self-assigned this Feb 21, 2025
Copy link
Contributor

@zwarm zwarm left a comment

Choose a reason for hiding this comment

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

@khaykov - I tested the demo app. Used all type of formatting and copy/pasted from outside the app to in. All is working as normal

@zwarm zwarm merged commit 2f305d6 into trunk Feb 21, 2025
14 checks passed
@zwarm zwarm deleted the issue/705-make-aztect-attributes-thread-safe branch February 21, 2025 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OOB Crash in AztecAttributes setValue/removeAttribute

4 participants