Skip to content

Commit

Permalink
feat(proxyd): ha redis namespace should be both backend group name an…
Browse files Browse the repository at this point in the history
…d the namespace itself (#9955)
  • Loading branch information
felipe-op committed Mar 25, 2024
1 parent b009daa commit 8411493
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proxyd/proxyd.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ func Start(config *Config) (*Server, func(), error) {
if err != nil {
return nil, nil, err
}
tracker = NewRedisConsensusTracker(context.Background(), consensusHARedisClient, bg, bg.Name, topts...)
ns := fmt.Sprintf("%s:%s", bgcfg.ConsensusHARedis.Namespace, bg.Name)
tracker = NewRedisConsensusTracker(context.Background(), consensusHARedisClient, bg, ns, topts...)
copts = append(copts, WithTracker(tracker))
}

Expand Down

0 comments on commit 8411493

Please sign in to comment.