Skip to content

fix: concurrent map access for processedSeries in delete requests manager - #17469

Merged
sandeepsukhani merged 1 commit into
mainfrom
deletion-fix-concurrent-map-access
Apr 27, 2025
Merged

fix: concurrent map access for processedSeries in delete requests manager#17469
sandeepsukhani merged 1 commit into
mainfrom
deletion-fix-concurrent-map-access

Conversation

@sandeepsukhani

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
I have reused an existing mutex, deleteRequestsToProcessMtx, to fix the concurrent access of processedSeries. I will open a follow-up PR to refactor the code. I believe we do not need a mutex to access deleteRequestsToProcess.

@sandeepsukhani
sandeepsukhani requested a review from a team as a code owner April 26, 2025 15:42
@sandeepsukhani
sandeepsukhani merged commit 32c5088 into main Apr 27, 2025
@sandeepsukhani
sandeepsukhani deleted the deletion-fix-concurrent-map-access branch April 27, 2025 07:08
@sandeepsukhani sandeepsukhani added type/bug Somehing is not working as expected backport k251 labels Apr 27, 2025
sandeepsukhani added a commit that referenced this pull request Apr 27, 2025
felix0102 pushed a commit to felix0102/loki that referenced this pull request Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport k251 size/XS type/bug Somehing is not working as expected

2 participants