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

This commit is contained in:
felipe 2024-03-25 11:10:11 -07:00 committed by GitHub
parent 94c236b467
commit 84a504dc39

@ -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))
}