pub unsafe extern "C" fn cass_execution_profile_set_token_aware_routing_shuffle_replicas(
    profile: *mut CassExecProfile,
    enabled: cass_bool_t
) -> CassError
Expand description

Configures the execution profile’s token-aware routing to randomly shuffle replicas. This can reduce the effectiveness of server-side caching, but it can better distribute load over replicas for a given partition key.

Note: Token-aware routing must be enabled and a load balancing policy must be enabled on the execution profile for the setting to be applicable.

Default: cass_true (enabled).

@public @memberof CassExecProfile

@param[in] profile @param[in] enabled @return CASS_OK if successful, otherwise an error occurred.

@see cass_cluster_set_token_aware_routing_shuffle_replicas()