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

doc: add more details to grpc-compression configs #17990

Merged
merged 7 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tidb-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ opentracing.reporter 相关的设置。

### `grpc-compression-type`

+ 控制 TiDB 向 TiKV 节点传输数据使用的压缩算法类型。默认值为 "none" 即不压缩。修改为 "gzip" 可以使用 gzip 算法压缩数据。
+ 控制 TiDB 向 TiKV 节点传输数据使用的压缩算法类型。默认值为 "none" 即不压缩。修改为 "gzip" 可以使用 gzip 算法压缩数据。注意,TiKV 返回给 TiDB 的响应消息的压缩算法由 TiKV 配置项[grpc-compression-type](/tikv-configuration-file.md#grpc-compression-type) 单独控制。
qiancai marked this conversation as resolved.
Show resolved Hide resolved
+ 默认值:"none"
+ 可选值:"none", "gzip"

Expand Down
2 changes: 1 addition & 1 deletion tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ TiKV 配置文件比命令行参数支持更多的选项。你可以在 [etc/con

### `grpc-compression-type`

+ gRPC 消息的压缩算法。
+ gRPC 消息的压缩算法。它会影响 TiKV 节点之间的 gRPC 消息以及 TiKV 发送给 TiDB 的 gRPC (响应)消息。
qiancai marked this conversation as resolved.
Show resolved Hide resolved
+ 可选值:`"none"`、`"deflate"`、`"gzip"`
+ 默认值:`"none"`

Expand Down