Merge pull request #59920 from azat/http-retries-logs

Decrease logging level for http retriable errors to Warning (and fix 00157_cache_dictionary flakiness)
This commit is contained in:
Dmitry Novik 2024-02-14 17:11:28 +01:00 committed by GitHub
commit 433d835df6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -552,7 +552,7 @@ bool ReadWriteBufferFromHTTPBase<UpdatableSessionPtr>::nextImpl()
if (!can_retry_request) if (!can_retry_request)
throw; throw;
LOG_ERROR( LOG_WARNING(
log, log,
"HTTP request to `{}` failed at try {}/{} with bytes read: {}/{}. " "HTTP request to `{}` failed at try {}/{} with bytes read: {}/{}. "
"Error: {}. (Current backoff wait is {}/{} ms)", "Error: {}. (Current backoff wait is {}/{} ms)",

View File

@ -1,5 +1,8 @@
-- Tags: no-tsan, no-parallel -- Tags: no-tsan, no-parallel
-- Suppress "ReadWriteBufferFromHTTP: HTTP request to `{}` failed at try 1/10 with bytes read: 311149/378695. Error: DB::HTTPException: Received error from remote server {}. (Current backoff wait is 100/10000 ms)" errors
SET send_logs_level='error';
DROP TABLE IF EXISTS test.hits_1m; DROP TABLE IF EXISTS test.hits_1m;
CREATE TABLE test.hits_1m AS test.hits CREATE TABLE test.hits_1m AS test.hits