Skip to content

Commit

Permalink
Recover in consumer assignment when asset already existed
Browse files Browse the repository at this point in the history
  • Loading branch information
neilalexander committed Aug 17, 2023
1 parent 3c85490 commit 065a65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/jetstream_cluster.go
Expand Up @@ -4001,7 +4001,7 @@ func (js *jetStream) processClusterCreateConsumer(ca *consumerAssignment, state
var didCreate, isConfigUpdate, needsLocalResponse bool
if o == nil {
// Add in the consumer if needed.
if o, err = mset.addConsumerWithAssignment(ca.Config, ca.Name, ca, false); err == nil {
if o, err = mset.addConsumerWithAssignment(ca.Config, ca.Name, ca, wasExisting); err == nil {
didCreate = true
}
} else {
Expand Down

0 comments on commit 065a65f

Please sign in to comment.