[
https://issues.apache.org/jira/browse/CASSSIDECAR-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francisco Guerrero updated CASSSIDECAR-232:
-------------------------------------------
Authors: Francisco Guerrero
Test and Documentation Plan: Added tests, and modified tests for this new
use case
Status: Patch Available (was: In Progress)
PR: https://github.com/apache/cassandra-sidecar/pull/211
CI:
https://app.circleci.com/pipelines/github/frankgh/cassandra-sidecar?branch=CASSSIDECAR-232
> 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: [email protected]
For additional commands, e-mail: [email protected]