From 804708b74f251363bdd05b9f5a311d5eaabde855 Mon Sep 17 00:00:00 2001 From: Lanqing Yang Date: Thu, 22 Aug 2024 00:50:34 -0700 Subject: [PATCH] docs: add backend configuration to metasrv doc (#1134) Co-authored-by: Yiran --- docs/user-guide/operations/configuration.md | 4 +++- .../current/user-guide/operations/configuration.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/operations/configuration.md b/docs/user-guide/operations/configuration.md index 3b072f8d7..513212312 100644 --- a/docs/user-guide/operations/configuration.md +++ b/docs/user-guide/operations/configuration.md @@ -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). @@ -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] diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/operations/configuration.md b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/operations/configuration.md index 8a11474f1..58e799cd5 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/operations/configuration.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/operations/configuration.md @@ -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" (默认值) @@ -560,6 +560,8 @@ use_memory_store = false ## - 使用 Remote WAL ## - 使用共享存储(例如 s3)。 enable_region_failover = false +# metasrv 的数据库类型. +backend = "EtcdStore" ## Procedure 选项 [procedure]