influxdata / influxdata/influxdb-java

Client constructor fails if the target host name is not resolvable

Open
#355 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.2k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

Client constructor fails if the target hostname is not resolvable, which IMO is not a desired behavior.
In the dynamic environments (like containers) hostname -> IP mapping can change very fast and sometimes at the construction time the target host name is really not resolvable, but IMO it should be tolerated by the constructor.
Besides the actual mapping can change during runtime, so not sure if static hostname -> IP address resolving makes sense at all.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Java client constructor and reproduce the failure with a hostname that cannot be resolved at construction time. Determine the current hostname-resolution behavior; done means construction tolerates a temporary DNS failure and the resulting behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.