Skip to content

Commit 9c331cc

Browse files
authored
chore: add notes in example configs (#18166)
* chore: add notes in meta config * z * z
1 parent b0a71aa commit 9c331cc

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

scripts/distribution/configs/databend-meta.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ raft_listen_host = "127.0.0.1"
2727
raft_advertise_host = "localhost"
2828

2929
# Start up mode: single node cluster
30+
# NOTE: comment out this line after the first run.
3031
single = true
3132

3233
# Start up mode: join a cluster
33-
# join = ["127.0.0.1:28104"]
34+
# NOTE: change `join` to a list of addresses of all databend-meta nodes.
35+
# NOTE: uncomment this line after the first run.
36+
# join = ["127.0.0.1:28004"]

scripts/distribution/configs/databend-query.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ flight_sql_handler_port = 8900
3333
tenant_id = "default"
3434
cluster_id = "default"
3535

36-
table_engine_memory_enabled = true
36+
37+
# NOTE: comment out one of the following blocks to enable a user for the first run.
3738

3839
# [[query.users]]
3940
# name = "root"
@@ -64,7 +65,7 @@ dir = "/var/log/databend"
6465
endpoints = ["0.0.0.0:9191"]
6566
username = "root"
6667
password = "root"
67-
client_timeout_in_second = 60
68+
client_timeout_in_second = 10
6869
auto_sync_interval = 60
6970

7071
# Storage config.

0 commit comments

Comments
 (0)