scylladb / scylla-rust-driver

Async CQL driver for Rust, optimized for ScyllaDB!
Apache License 2.0
571 stars 99 forks source link

Decouple schema fetch queries from server-side timeouts #1073

Closed dkropachev closed 2 weeks ago

dkropachev commented 2 weeks ago

If the user set server-side timeouts, or service level timeouts, this impacts schema fetches. The timeout can be too low to allow a schema fetch when the schema is very large. Instead, qualify schema (and other metadata) fetches with USING TIMEOUT (with a high and configurable default) so schema fetches work regardless of timeout tuning.

rust-driver part of origin issue #

dkropachev commented 2 weeks ago

Dup of https://github.com/scylladb/scylla-rust-driver/issues/1052