feat(proxyd): ha redis namespace should be both backend group name and the namespace itself (#9955)
This commit is contained in:
parent
94c236b467
commit
84a504dc39
@ -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))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user