Skip to content

Validation timeout is not propagated properly if isUseJdbc4Validation=true #2307

@anmalysh-yb

Description

@anmalysh-yb

This hardcodes timeout to 1 second:

https://github.com/brettwooldridge/HikariCP/blob/dev/src/main/java/com/zaxxer/hikari/pool/PoolBase.java#L478

And ignores validationTimeout set by a user.

This makes connection validation to fail in case DB is located far enough from the application and has high RTT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions