File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
scripts/distribution/configs Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11# Usage:
22# databend-meta -c databend-meta.toml
33
4- admin_api_address = " 0.0.0.0:28101 "
4+ admin_api_address = " 0.0.0.0:28002 "
55grpc_api_address = " 0.0.0.0:9191"
6+ # NOTE: change this to the ip address reachable from databend-query.
67# databend-query fetch this address to update its databend-meta endpoints list,
78# in case databend-meta cluster changes.
89grpc_api_advertise_host = " 127.0.0.1"
@@ -17,12 +18,16 @@ dir = "/var/log/databend"
1718[raft_config ]
1819id = 1
1920raft_dir = " /var/lib/databend/raft"
20- raft_api_port = 28103
21+ raft_api_port = 28004
2122
2223# Assign raft_{listen|advertise}_host in test config.
2324# This allows you to catch a bug in unit tests when something goes wrong in raft meta nodes communication.
2425raft_listen_host = " 127.0.0.1"
26+ # NOTE: change this to the ip address or hostname reachable from other databend-meta nodes.
2527raft_advertise_host = " localhost"
2628
2729# Start up mode: single node cluster
2830single = true
31+
32+ # Start up mode: join a cluster
33+ # join = ["127.0.0.1:28104"]
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ max_active_sessions = 256
66shutdown_wait_timeout_ms = 5000
77
88# Internal flight rpc for cluster communication.
9- flight_api_address = " 0.0.0.0:9091 "
9+ flight_api_address = " 0.0.0.0:9090 "
1010
1111# Admin REST API.
1212admin_api_address = " 0.0.0.0:8080"
@@ -42,13 +42,13 @@ table_engine_memory_enabled = true
4242# [[query.users]]
4343# name = "databend"
4444# auth_type = "double_sha1_password"
45- # # echo -n "databend" | sha1sum | cut -d' ' -f1 | xxd -r -p | sha1sum
45+ # # to generate auth_string: echo -n "databend" | sha1sum | cut -d' ' -f1 | xxd -r -p | sha1sum
4646# auth_string = "3081f32caef285c232d066033c89a78d88a6d8a5"
4747
4848# [[query.users]]
4949# name = "datafuselabs"
5050# auth_type = "sha256_password"
51- # # echo -n "datafuselabs" | sha256sum
51+ # # to generate auth_string: echo -n "datafuselabs" | sha256sum
5252# auth_string = "6db1a2f5da402b43c066fcadcbf78f04260b3236d9035e44dd463f21e29e6f3b"
5353
5454
You can’t perform that action at this time.
0 commit comments