You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The underlying cassandra library that Basepate.py uses relies on the LoadBalancingPolicy that gets created alongside an ExecutionProfile to manage a list of candidate Cassandra cluster hosts for queries. This can lead to issues when an ExecutionProfile instance object is passed to multiple cluster_from_config calls for different Cassandra clusters. Each cluster will attach the same ExecutionProfile instance and LoadBalancingPolicy, which might end up containing hosts that aren't even in the cluster because of other clusters overwriting the host data.
It would be good to have some guardrails in place to prevent this sharing of ExecutionProfile objects, and instead explicitly have new profiles be created.
The text was updated successfully, but these errors were encountered:
The underlying
cassandra
library that Basepate.py uses relies on theLoadBalancingPolicy
that gets created alongside anExecutionProfile
to manage a list of candidate Cassandra cluster hosts for queries. This can lead to issues when anExecutionProfile
instance object is passed to multiplecluster_from_config
calls for different Cassandra clusters. Each cluster will attach the sameExecutionProfile
instance andLoadBalancingPolicy
, which might end up containing hosts that aren't even in the cluster because of other clusters overwriting the host data.It would be good to have some guardrails in place to prevent this sharing of
ExecutionProfile
objects, and instead explicitly have new profiles be created.The text was updated successfully, but these errors were encountered: