Skip to content

Commit

Permalink
Always enable partition ring codec (#7880)
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Pracucci <[email protected]>
  • Loading branch information
pracucci authored Apr 12, 2024
1 parent d484152 commit 4b28c86
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/mimir/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -979,9 +979,7 @@ func (t *Mimir) initStoreGateway() (serv services.Service, err error) {
func (t *Mimir) initMemberlistKV() (services.Service, error) {
// Append to the list of codecs instead of overwriting the value to allow third parties to inject their own codecs.
t.Cfg.MemberlistKV.Codecs = append(t.Cfg.MemberlistKV.Codecs, ring.GetCodec())
if t.Cfg.IngestStorage.Enabled {
t.Cfg.MemberlistKV.Codecs = append(t.Cfg.MemberlistKV.Codecs, ring.GetPartitionRingCodec())
}
t.Cfg.MemberlistKV.Codecs = append(t.Cfg.MemberlistKV.Codecs, ring.GetPartitionRingCodec())

dnsProviderReg := prometheus.WrapRegistererWithPrefix(
"cortex_",
Expand Down

0 comments on commit 4b28c86

Please sign in to comment.