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 all 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
4 changes: 4 additions & 0 deletions tidb-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@ opentracing.reporter 相关的设置。
+ 默认值:"none"
+ 可选值:"none", "gzip"

> **注意:**
>
> TiKV 节点返回给 TiDB 的响应消息的压缩算法是由 TiKV 配置项 [`grpc-compression-type`](/tikv-configuration-file.md#grpc-compression-type) 控制的。

### `commit-timeout`

+ 执行事务提交时,最大的超时时间。
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(响应)消息。
+ 可选值:`"none"`、`"deflate"`、`"gzip"`
+ 默认值:`"none"`

Expand Down