From 1f315e300f271dfc2fa57a0b5920eb4182849478 Mon Sep 17 00:00:00 2001 From: Weny Xu Date: Thu, 13 Jun 2024 19:15:38 +0800 Subject: [PATCH] fix: retry on unknown error (#4138) --- src/client/src/error.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/src/error.rs b/src/client/src/error.rs index 2e3e78d19b1e..c8641087d430 100644 --- a/src/client/src/error.rs +++ b/src/client/src/error.rs @@ -192,6 +192,9 @@ impl Error { } | Self::RegionServer { code: Code::Unavailable, .. + } | Self::RegionServer { + code: Code::Unknown, + .. } ) }