Skip to content

Conversation

MauriceVanVeen
Copy link
Member

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

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
@MauriceVanVeen MauriceVanVeen requested a review from a team as a code owner August 25, 2025 10:13
Copy link
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

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

LGTM

@neilalexander neilalexander merged commit d610485 into main Aug 26, 2025
48 checks passed
@neilalexander neilalexander deleted the maurice/consumer-pause-locked branch August 26, 2025 08:26
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>
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