Normalize a debug failure to WARNING failure (#4996)

ozan-test
Talha Nisanci 2021-12-16 13:43:49 +03:00 committed by GitHub
parent 7d0f4f11c3
commit c0945d88de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -65,6 +65,9 @@ s/"(raw_events_second_user_id_value_1_key_|agg_events_user_id_value_1_agg_key_)[
# ignore WAL warnings
/DEBUG: .+creating and filling new WAL file/d
# normalize debug connection failure
s/DEBUG: connection to the remote node/WARNING: connection to the remote node/g
# normalize file names for partitioned files
s/(task_[0-9]+\.)[0-9]+/\1xxxx/g
s/(job_[0-9]+\/task_[0-9]+\/p_[0-9]+\.)[0-9]+/\1xxxx/g

View File

@ -86,7 +86,7 @@ CREATE TABLE distributed_result_info AS
SELECT resultId, nodeport, rowcount, targetShardId, targetShardIndex
FROM partition_task_list_results('test', $$ SELECT * FROM source_table $$, 'target_table')
NATURAL JOIN pg_dist_node;
DEBUG: connection to the remote node localhost:xxxxx failed with the following error: server closed the connection unexpectedly
WARNING: connection to the remote node localhost:xxxxx failed with the following error: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
SELECT * FROM distributed_result_info ORDER BY resultId;