[ https://issues.apache.org/jira/browse/CASSSIDECAR-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francisco Guerrero updated CASSSIDECAR-232: ------------------------------------------- Priority: Normal (was: Major) > Enhance the Cluster Lease Claim task feature > -------------------------------------------- > > Key: CASSSIDECAR-232 > URL: https://issues.apache.org/jira/browse/CASSSIDECAR-232 > Project: Sidecar for Apache Cassandra > Issue Type: Improvement > Components: Configuration, Rest API > Reporter: Francisco Guerrero > Assignee: Francisco Guerrero > Priority: Normal > > I would like to propose the following enhancements for the Cluster Lease > Claim feature in Sidecar: > - Handle IllegalArgumentException thrown when resultSet doesn't contain owner > information. This is happening seldom times but it is noticeable. The source > of the issue seems to indicate an issue in the driver or Cassandra codebase. > I am able to reproduce the issue by running Sidecar locally for a long time. > However, there's no good way to reproduce it in a test. > - Better defaults for cluster lease task: Reduce the cluster lease task > execution frequency to reduce the potential for CAS contention on the > sidecar_internal.cluster_lease_v1 table in Cassandra. > - Introduce randomized delay when scheduling ClusterLeaseClaimTask: to reduce > potential races when all instances are trying to acquire the lease at the > same time > - Add new strategy to select the number of participants for the cluster > lease: This is to prevent too many participants trying to acquire the lease > for clusters with user keyspaces that are highly replicated. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org