Skip to content

[CASSANALYTICS-181] - Support Sidecar behind a load balancer for time…#223

Open
bianca-stanciu29 wants to merge 1 commit into
apache:trunkfrom
bianca-stanciu29:CASSANALYTICS-181
Open

[CASSANALYTICS-181] - Support Sidecar behind a load balancer for time…#223
bianca-stanciu29 wants to merge 1 commit into
apache:trunkfrom
bianca-stanciu29:CASSANALYTICS-181

Conversation

@bianca-stanciu29

Copy link
Copy Markdown

…-skew validation in coordinated writes

Problem

Time-skew validation before a coordinated bulk write fans out HTTP calls directly to per-replica FQDNs resolved from the Cassandra token map. In deployments where Sidecar is fronted by a load balancer, those FQDNs are not routable from Spark executors, only the load balancer address is. This causes time-skew validation to fail at the start of every coordinated write job, blocking bulk writes entirely in load-balanced Sidecar deployments.

Solution

Add a SIDECAR_BEHIND_LOAD_BALANCER writer option (default: false). When true, time-skew validation skips the per-replica fan-out and routes through the preconfigured load balancer contact points instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant