From 8b9013599eb9c835fc48a2457e0e77559c923050 Mon Sep 17 00:00:00 2001 From: lance6716 Date: Tue, 22 Aug 2023 11:44:25 +0800 Subject: [PATCH] fix errdoc Signed-off-by: lance6716 --- errors.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/errors.toml b/errors.toml index 6a2ca3036e5b7..afb49d8cd9f76 100644 --- a/errors.toml +++ b/errors.toml @@ -406,6 +406,11 @@ error = ''' raft proposal dropped ''' +["Lightning:KV:ErrNoLeader"] +error = ''' +write to tikv with no leader returned, region '%d', leader: %d +''' + ["Lightning:KV:NotLeader"] error = ''' not leader