-
Notifications
You must be signed in to change notification settings - Fork 692
chore: remove partition ring livestore config #6981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,7 +46,6 @@ type Config struct { | |
| StreamOverHTTPEnabled bool `yaml:"stream_over_http_enabled,omitempty"` | ||
| HTTPAPIPrefix string `yaml:"http_api_prefix"` | ||
| EnableGoRuntimeMetrics bool `yaml:"enable_go_runtime_metrics,omitempty"` | ||
| PartitionRingLiveStore bool `yaml:"partition_ring_live_store,omitempty"` // todo: remove after rhythm migration | ||
|
|
||
| Memory MemoryConfig `yaml:"memory,omitempty"` | ||
|
Comment on lines
46
to
50
|
||
| Server server.Config `yaml:"server,omitempty"` | ||
|
|
@@ -81,7 +80,6 @@ func NewDefaultConfig() *Config { | |
| func (c *Config) RegisterFlagsAndApplyDefaults(prefix string, f *flag.FlagSet) { | ||
| c.Target = SingleBinary | ||
| c.StreamOverHTTPEnabled = false | ||
| c.PartitionRingLiveStore = false | ||
|
|
||
| // Memory settings | ||
| c.Memory = MemoryConfig{ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| stream_over_http_enabled: true | ||
| partition_ring_live_store: true | ||
|
|
||
| server: | ||
| http_listen_port: 3200 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| partition_ring_live_store: true | ||
|
|
||
| server: | ||
| log_level: info | ||
| http_listen_port: {{ env "NOMAD_PORT_http" }} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,6 @@ | |
| # | ||
|
|
||
| stream_over_http_enabled: true | ||
| partition_ring_live_store: true | ||
|
|
||
| server: | ||
| http_listen_port: 3200 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing
partition_ring_live_storefromapp.Configmakes upgrades fail fast for any existing config that still includes this key, because runtime config loading is strict (yaml.UnmarshalStrictincmd/tempo/main.go:185). This key existed in all shipped example configs before this change, so users who only bump the binary (without rewriting config) will now get an unknown-field startup error. Please keep an ignored compatibility field (similar to other deprecated config shims) for at least one release or add a migration shim so old configs still boot.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No