You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Kalashnikov (JIRA)" <ji...@apache.org> on 2018/02/01 09:43:00 UTC
[jira] [Commented] (IGNITE-7192) JDBC: support FQDN to multiple IPs
during connection establishment
[ https://issues.apache.org/jira/browse/IGNITE-7192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16348297#comment-16348297 ]
Sergey Kalashnikov commented on IGNITE-7192:
--------------------------------------------
[~guseinov], Please correct the coding style across code and tests (see https://cwiki.apache.org/confluence/display/IGNITE/Coding+Guidelines)
I noticed multiple style violations:
- Braces style in try/catch
- Braces around multi- and single-line operators.
- @Override must be on the same line as the function name.
- No empty line between the function description and params in javadoc.
- Use of empty lines between statements.
> JDBC: support FQDN to multiple IPs during connection establishment
> ------------------------------------------------------------------
>
> Key: IGNITE-7192
> URL: https://issues.apache.org/jira/browse/IGNITE-7192
> Project: Ignite
> Issue Type: Improvement
> Components: jdbc
> Affects Versions: 2.1
> Reporter: Alexey Popov
> Assignee: Roman Guseinov
> Priority: Major
> Labels: pull-request-available
>
> Thin JDBC driver may have FQDN (host name) at a connection string.
> Currently, it resolves this FQDN to one IP and tries to connect to this IP only.
> It is better to try to connect to multiple IPs one-by-one if DNS returns multiple A-records (FQDN can be resolved to several IPs) until successful connection. It could give a simple fallback option for the JDBC thin driver users.
> A similar functionality is already implemented in ODBC driver.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)