You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before the introduction of normalized tokens, Desc.AddIngester used to append tokens to the existing ones. But currently, it works as append when it's not normalized tokens and replace when it's normalized tokens.
Looking at places where Desc.AddIngester is used, append seems to be the desired behaviour. Discovered in #1750 and @pstibrany plans to fix it in #1809
The text was updated successfully, but these errors were encountered:
Looking at places where Desc.AddIngester is used, append seems to be the desired behaviour.
append was desired behaviour only when not doing normalization. Since we're removing that option, AddIngester will now always replace the tokens. That requires small change in autoJoin method, but all other places are unaffected. This is how I implemented it in #1809
Before the introduction of normalized tokens,
Desc.AddIngester
used to append tokens to the existing ones. But currently, it works asappend
when it's not normalized tokens andreplace
when it's normalized tokens.cortex/pkg/ring/model.go
Lines 38 to 63 in 08ddf88
Looking at places where
Desc.AddIngester
is used,append
seems to be the desired behaviour. Discovered in #1750 and @pstibrany plans to fix it in #1809The text was updated successfully, but these errors were encountered: