From 9a9f79c008259aeb9ba80ef3bf418706e1e80b43 Mon Sep 17 00:00:00 2001 From: Scott Balmos <399112+sbalmos@users.noreply.github.com> Date: Fri, 7 Jul 2023 10:37:23 -0400 Subject: [PATCH 1/2] Add Internal and DataLoss error codes as non-retryable errors in Vector sink --- src/sinks/vector/config.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sinks/vector/config.rs b/src/sinks/vector/config.rs index 74450c117df01..c8f6a249357ff 100644 --- a/src/sinks/vector/config.rs +++ b/src/sinks/vector/config.rs @@ -253,6 +253,8 @@ impl RetryLogic for VectorGrpcRetryLogic { | OutOfRange | Unimplemented | Unauthenticated + | Internal + | DataLoss ), _ => true, } From af1e2bbb2a80fc945d180c6b7292dbc881b9de25 Mon Sep 17 00:00:00 2001 From: Scott Balmos <399112+sbalmos@users.noreply.github.com> Date: Fri, 7 Jul 2023 10:59:27 -0400 Subject: [PATCH 2/2] Remove Internal from non-retryable errors Co-authored-by: Doug Smith --- src/sinks/vector/config.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sinks/vector/config.rs b/src/sinks/vector/config.rs index c8f6a249357ff..a6aaa2d034fe7 100644 --- a/src/sinks/vector/config.rs +++ b/src/sinks/vector/config.rs @@ -253,7 +253,6 @@ impl RetryLogic for VectorGrpcRetryLogic { | OutOfRange | Unimplemented | Unauthenticated - | Internal | DataLoss ), _ => true,