citusdata / citusdata/citus

Improve connection error messages

Open
#5,515 1 comment 0 reactions 0 assignees View on GitHub
mx
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

When metadata is synced, the metadata connection is marked as `critical` and Citus throws
```C
ereport(ERROR, (errmsg("failure on connection marked as essential: %s:%d",
connection->hostname, connection->port)));
```

Which is not useful at all. We should improve the error message by probably getting the actual error message.

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.