yugabyte/yugabyte-db

Flush/Compact requests from master -> tserver should have its own deadline/num_retries

Open

#9,168 创建于 2021年7月1日

在 GitHub 查看
 (2 评论) (0 反应) (1 负责人)C (1,003 fork)batch import
good first issue

仓库指标

Star
 (8,229 star)
PR 合并指标
 (平均合并 17天 21小时) (30 天内合并 92 个 PR)

描述

Flush/Compact requests to the tServer are rpcs that are expected to take a long time. It does not make sense for these to use the same deadline (20s) and num_retries as other async_rpc_tasks.

We should have these tasks override these settings; similar to what BackfillChunk does to give itself more time; and also to disble/reduce retries in the case of flush/compact.

Without having this, we are forced to use yb-admin to set set_flag unresponsive_ts_rpc_retry_limit 0 each time we want to issue a flush/compact request.

贡献者指南