SIGN IN SIGN UP

opentelemetry-sdk: revert RLock back to Lock (#5329)

* opentelemetry-sdk: revert RLock back to Lock

With the changes in clean_attributes, the original issue that required the reentrant lock in the first place is no longer an issue. Added a test that was run with the old code to validate that the regression does not occur.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>

* changelog

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>

* Update .changelog/5329.changed

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>

* fix lint

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>

* remove old test

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
A
Alex Boten committed
634cec5f2a2fecb40cb9d8216888c7b8865b845a
Parent: d086833
Committed by GitHub <noreply@github.com> on 7/6/2026, 3:58:38 PM