Skip to content

Conversation

@ultrotter
Copy link
Contributor

This was changed in b67bde8cf981dd2f5e86cbb7b886074bf24d7a9c because Set
called query, while already holding a lock, but that call was removed in
dbe6312f098f6698c3b82ed736c0c165a0e19f6a and replaced with a simple
len(s.st) call, so locking can move back to the inner function.

Signed-off-by: Guido Trotter <guido@hudson-trading.com>

Guido Trotter added 2 commits November 5, 2025 09:13
Add benchmarks about parallel queries, parallel queries in concurrency
with adds, and about running mutes.

Signed-off-by: Guido Trotter <guido@hudson-trading.com>
This was changed in b67bde8 because Set
called query, while already holding a lock, but that call was removed in
dbe6312 and replaced with a simple
len(s.st) call, so locking can move back to the inner function.

Signed-off-by: Guido Trotter <guido@hudson-trading.com>
@SuperQ SuperQ merged commit 0fa3a27 into prometheus:main Nov 5, 2025
7 checks passed
@ultrotter ultrotter deleted the movequerylock branch November 8, 2025 09:32
@SoloJacobs SoloJacobs mentioned this pull request Nov 24, 2025
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.

2 participants