From 8411493e2fff0c80afadc6e2ecbf51edce2c72a6 Mon Sep 17 00:00:00 2001 From: felipe <130432649+felipe-op@users.noreply.github.com> Date: Mon, 25 Mar 2024 11:10:11 -0700 Subject: [PATCH] feat(proxyd): ha redis namespace should be both backend group name and the namespace itself (#9955) --- proxyd/proxyd.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proxyd/proxyd.go b/proxyd/proxyd.go index 0727efe995ac..e703e9b2d7bd 100644 --- a/proxyd/proxyd.go +++ b/proxyd/proxyd.go @@ -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)) }