citusdata / citusdata/citus

Add shardid information when no connection could be established

Open
#4,116 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

We have seen timeout related issues during copy commands. The error message is pretty naked on its own without good diagnostics information to understand which shard and therefore which machines it tried to connect to.

The log messages are:
https://github.com/citusdata/citus/blob/20c39fae9a9b7eb9207f96c025473e5f03e326b9/src/backend/distributed/commands/multi_copy.c#L892
https://github.com/citusdata/citus/blob/20c39fae9a9b7eb9207f96c025473e5f03e326b9/src/backend/distributed/commands/multi_copy.c#L3486

Adding the shardid in the detail might be of great insight for anyone running into this issue in production

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.