Skip to content
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

/config API only returns frontend config under standalone mode #2584

Closed
evenyag opened this issue Oct 12, 2023 · 0 comments · Fixed by #2630
Closed

/config API only returns frontend config under standalone mode #2584

evenyag opened this issue Oct 12, 2023 · 0 comments · Fixed by #2630
Assignees
Labels
C-bug Category Bugs

Comments

@evenyag
Copy link
Contributor

evenyag commented Oct 12, 2023

What type of bug is this?

Configuration

What subsystems are affected?

Standalone mode

What happened?

/config only returns frontend config, missing configurations like storage, region_engine...

What operating system did you use?

Unrelated

Relevant log output and stack trace

mode = "standalone"

[heartbeat]
interval_millis = 18000
retry_interval_millis = 3000

[http]
addr = "127.0.0.1:4000"
timeout = "30s"
body_limit = "64MiB"

[grpc]
addr = "127.0.0.1:4001"
runtime_size = 8
max_recv_message_size = 536870912
max_send_message_size = 536870912

[mysql]
enable = true
addr = "127.0.0.1:4002"
runtime_size = 2

[mysql.tls]
mode = "disable"
cert_path = ""
key_path = ""

[postgres]
enable = true
addr = "127.0.0.1:4003"
runtime_size = 2

[postgres.tls]
mode = "disable"
cert_path = ""
key_path = ""

[opentsdb]
enable = true
addr = "127.0.0.1:4242"
runtime_size = 2

[influxdb]
enable = true

[prom_store]
enable = true

[otlp]
enable = true

[logging]
dir = "/tmp/greptimedb/logs"
enable_jaeger_tracing = false

[datanode.client]
timeout = "10s"
connect_timeout = "1s"
tcp_nodelay = true

How can we reproduce the bug?

$ ./greptime standalone start

$ curl 127.0.0.1:4000/config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category Bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants