Description
Describe the bug
While trying to move away from a multi
kvstore configuration as suggested by @friedrichg I discovered bizzare behavior. I was using both ETCD and Consul as secondary, mistakenly thinking this could allow me to easily switch to Consul in case of an ETCD outage, but apparently that is not so.
When I removed the configuration for multi kvstore and reduced it to just use ETCD my distributors could not notice any of the Ingesters in the ring. First they appeared as Enhealthy
, and when the forget
button was pressed they simply disappeared. This confused me quite a bit, but on a hunch I added an ingester
configuration section in the config for my distributor
nodes:
ingester:
lifecycler:
ring:
...
And after that the distributor
started recognizing the ingesters that were using ETCD as their primary kv store.
This shows that the distributor
service actually requires ingester configuration to interact with ingesters.
Considering the documentation for ingester_config
states:
Which is clearly wrong, because it ALSO configures things for the distributor
. Only though pure instinct did I discover this.
To Reproduce
Steps to reproduce the behavior:
- Start Cortex
1.16.0
- Configure
distributor
node using only thedistributor
config section to use kv store other than default. - Notice that it continues to read
ingester
ring state from theingester
configuration.
Expected behavior
Sane one.