From bec759039c12518199bb5b522cf52e479ea6ed39 Mon Sep 17 00:00:00 2001 From: Little-Wallace Date: Thu, 1 Jul 2021 12:45:43 +0800 Subject: [PATCH 1/2] add config-s --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 832b3223702..e880ea60f1d 100644 --- a/README.md +++ b/README.md @@ -92,10 +92,18 @@ The following includes JVM related parameters. #### tikv.grpc.timeout_in_ms - timeout of grpc request +- default: 150ms + +#### tikv.grpc.forward_timeout_in_ms +- timeout of grpc request when forward request by follower - default: 600ms +#### tikv.grpc.health_check_timeout +- timeout of grpc request to check health status of TiKV node. unit: ms +- default: 40 + #### tikv.grpc.scan_timeout_in_ms -- timeout of scan/delete range grpc request +- timeout of scan/delete_range/batch_put grpc request - default: 20s ### Metrics Parameter From 0039c647c086d42fbcf6d4a5f6cbde3aef7a8508 Mon Sep 17 00:00:00 2001 From: Little-Wallace Date: Thu, 1 Jul 2021 13:50:43 +0800 Subject: [PATCH 2/2] add enable forward Signed-off-by: Little-Wallace --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index e880ea60f1d..b7eb5f2f92c 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,10 @@ The following includes JVM related parameters. - pd addresses, separated by comma - default: 127.0.0.1:2379 +#### tikv.enable_grpc_forward +- When network isolation occurs between a tikv node and the client, it is allowed to forward the request to him through other nodes. +- default: true + #### tikv.grpc.timeout_in_ms - timeout of grpc request - default: 150ms