scylladb / cpp-rust-driver

API-compatible rewrite of https://github.com/scylladb/cpp-driver as a wrapper for Rust driver.
GNU Lesser General Public License v2.1
16 stars 11 forks source link

CassExecProfile #38

Closed Lorak-mmk closed 2 months ago

Lorak-mmk commented 2 years ago

Useful feature of cppdriver that lets user create predefined set of options that can be then used with queries.

Rust driver doesn't support them - we need to decide if we want to implement it there, or fully in our wrapper. I'd be leaning towards implementation in the driver - the feature is useful in cppdriver, and could be useful in Rust driver, and could bring performance benefits.

Functions:

Gor027 commented 1 year ago

This will be fixed when #107 is merged. Functions that will be left unimplemented should be added to the README under the limitations section.

Lorak-mmk commented 1 year ago

First we need to add unsupported functions to README

Gor027 commented 1 year ago

I have updated the list of the unimplemented functions. The Rust driver does not support blacklist/whitelist filtering, and as I understand shuffling replicas is always enabled. The cass_cluster_set_no_speculative_execution_policy function is implemented so I guess cass_execution_profile_set_no_speculative_execution_policy can be implemented similarly.

roydahan commented 2 months ago

All the missing ones are part of the plan. We will have a new ticket per topic.