You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Francisco Guerrero (Jira)" <ji...@apache.org> on 2025/03/19 18:11:00 UTC
[jira] [Assigned] (CASSSIDECAR-232) Enhance the Cluster Lease Claim task feature
[ https://issues.apache.org/jira/browse/CASSSIDECAR-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francisco Guerrero reassigned CASSSIDECAR-232:
----------------------------------------------
Assignee: Francisco Guerrero
> 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: Bug
> Components: Configuration, Rest API
> Reporter: Francisco Guerrero
> Assignee: Francisco Guerrero
> Priority: Major
>
> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org