Skip to content

Commit

Permalink
docs: add backend configuration to metasrv doc (#1134)
Browse files Browse the repository at this point in the history
Co-authored-by: Yiran <cuiyiran3@gmail.com>
  • Loading branch information
lyang24 and nicecui authored Aug 22, 2024
1 parent abd7140 commit 804708b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/user-guide/operations/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ data_home = "/tmp/metasrv/"
bind_addr = "127.0.0.1:3002"
# The communication server address for frontend and datanode to connect to metasrv, "127.0.0.1:3002" by default for localhost.
server_addr = "127.0.0.1:3002"
# Etcd server addresses, "127.0.0.1:2379" by default.
# Store server address, "127.0.0.1:2379" by default with etcd store.
store_addr = "127.0.0.1:2379"
# Datanode selector type.
# - "lease_based" (default value).
Expand All @@ -571,6 +571,8 @@ use_memory_store = false
## - Using Remote WAL
## - Using shared storage (e.g., s3).
enable_region_failover = false
# The datastore for meta server.
backend = "EtcdStore"

## Procedure storage options.
[procedure]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ data_home = "/tmp/metasrv/"
bind_addr = "127.0.0.1:3002"
# frontend 和 datanode 连接到 metasrv 的通信服务器地址,本地默认为 "127.0.0.1:3002"。
server_addr = "127.0.0.1:3002"
# Etcd 服务器地址,默认为 "127.0.0.1:2379"。
# metasrv 存储端服务器地址,默认为 "127.0.0.1:2379"。
store_addr = "127.0.0.1:2379"
# Datanode 选择器类型。
# - "lease_based" (默认值)
Expand All @@ -560,6 +560,8 @@ use_memory_store = false
## - 使用 Remote WAL
## - 使用共享存储(例如 s3)。
enable_region_failover = false
# metasrv 的数据库类型.
backend = "EtcdStore"

## Procedure 选项
[procedure]
Expand Down

0 comments on commit 804708b

Please sign in to comment.