Commit 8411493e authored by felipe's avatar felipe Committed by GitHub

feat(proxyd): ha redis namespace should be both backend group name and the namespace itself (#9955)

parent b009daa8
...@@ -355,7 +355,8 @@ func Start(config *Config) (*Server, func(), error) { ...@@ -355,7 +355,8 @@ func Start(config *Config) (*Server, func(), error) {
if err != nil { if err != nil {
return nil, nil, err 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)) copts = append(copts, WithTracker(tracker))
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment