[FIXED] Hold consumer lock when reading o.cfg.PauseUntil#7201
Merged
neilalexander merged 1 commit intomainfrom Aug 26, 2025
Merged
[FIXED] Hold consumer lock when reading o.cfg.PauseUntil#7201neilalexander merged 1 commit intomainfrom
neilalexander merged 1 commit intomainfrom
Conversation
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
MauriceVanVeen
pushed a commit
that referenced
this pull request
Sep 3, 2025
The following (shortened) data race was detected in nats.go:
```
WARNING: DATA RACE
Write at 0x00c00013b968 by goroutine 95:
github.com/nats-io/nats-server/v2/server.(*consumer).updateConfig()
github.com/nats-io/nats-server/v2@v2.11.4-0.20250731064139-5f6ce4746d14/server/consumer.go:2310 +0xd14
Previous read at 0x00c00013b968 by goroutine 92:
github.com/nats-io/nats-server/v2/server.(*Server).jsConsumerCreateRequest()
github.com/nats-io/nats-server/v2@v2.11.4-0.20250731064139-5f6ce4746d14/server/jetstream_api.go:4449 +0xfa4
```
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
neilalexander
added a commit
that referenced
this pull request
Sep 8, 2025
Includes the following: - #7200 - #7201 - #7202 - #7209 - #7210 - #7211 - #7213 - #7212 - #7216 - #7217 - #7230 - #7239 - #7246 - #7248 - 8241a15, specifically delayed errors that are not JS API errors - #7158 (not containing 2.12-specific changes) - #7233 - #7255 - #7249 - #7259 - #7265 - #7273 (not including Go 1.25.x) - #7258 - #7222 Signed-off-by: Maurice van Veen <github@mauricevanveen.com> Signed-off-by: Neil Twigg <neil@nats.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The following (shortened) data race was detected in nats.go:
Signed-off-by: Maurice van Veen github@mauricevanveen.com