From 767ef293902bcba71d888afad36931d8fc952222 Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Tue, 24 Oct 2023 13:13:23 +0100 Subject: [PATCH] proxy: filter out more quota exceeded errors (#5640) ## Problem Looking at logs, I saw more retries being performed for other quota exceeded errors ## Summary of changes Filter out all quota exceeded family of errors --- proxy/src/console/provider.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/proxy/src/console/provider.rs b/proxy/src/console/provider.rs index 8742534f5d..86fd810ac3 100644 --- a/proxy/src/console/provider.rs +++ b/proxy/src/console/provider.rs @@ -90,7 +90,11 @@ pub mod errors { status: http::StatusCode::LOCKED, ref text, } => { - !text.contains("written data quota exceeded") + // written data quota exceeded + // data transfer quota exceeded + // compute time quota exceeded + // logical size quota exceeded + !text.contains("quota exceeded") && !text.contains("the limit for current plan reached") } // retry server errors