java-driver icon indicating copy to clipboard operation
java-driver copied to clipboard

4.x: bring server side and client side timeout for admin queries in line

Open dkropachev opened this issue 9 months ago • 1 comments

Currently there are two distinct configurations for server side (DefaultDriverOption.METADATA_SCHEMA_REQUEST_TIMEOUT) and client side (DefaultDriverOption.CONTROL_CONNECTION_TIMEOUT) timeouts for admin queries.

both these timeouts have to have similar value, client-side could be a bit higher to offset network delay.

Current defaults: DefaultDriverOption.CONTROL_CONNECTION_TIMEOUT - 5 seconds DefaultDriverOption.METADATA_SCHEMA_REQUEST_TIMEOUT - 20 seconds

A huge no, no, we need to fix it.

dkropachev avatar May 20 '25 09:05 dkropachev