Skip to content

Hedged requests still don't allow to quickly select a good replica in presence of timeouts on others. #46931

@alexey-milovidov

Description

@alexey-milovidov

Use case

milovidov-desktop :) SET connect_timeout_with_failover_ms = 10000

SET connect_timeout_with_failover_ms = 10000

Query id: f83661c5-99e0-4dd4-a9e3-a30851e77c8e

Ok.

0 rows in set. Elapsed: 0.000 sec. 

milovidov-desktop :) SELECT count() FROM remote('google.com|127.0.0.2', system.one)

SELECT count()
FROM remote('google.com|127.0.0.2', system.one)

Query id: 8c74e9b0-39f5-4df6-a7f9-457654585042

┌─count()─┐
│       1 │
└─────────┘

1 row in set. Elapsed: 20.092 sec.

It should finish in zero time if 127.0.0.2 is available.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions