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 2026/10/01 21:48:00 UTC

[jira] [Commented] (CASSSIDECAR-503) Fix IPV6 regex to recognize bracketed IPv6 addresses in gossip info host headers

    [ https://issues.apache.org/jira/browse/CASSSIDECAR-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18121735#comment-18121735 ] 

Francisco Guerrero commented on CASSSIDECAR-503:
------------------------------------------------

+1 thanks for the fix

> Fix IPV6 regex to recognize bracketed IPv6 addresses in gossip info host headers
> --------------------------------------------------------------------------------
>
>                 Key: CASSSIDECAR-503
>                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-503
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Bug
>            Reporter: Saranya Krishnakumar
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> For cluster lease claim in Sidecar, Cassandra nodes with IPV6 address are not able to claim the lease, because of this tasks scheduled to run with ExecuteOnClusterLeaseHolderOnly are currently not being run. The regex used to parse node address is missing square brackets, whereas Cassandra wraps an IPv6 literal in square brackets before appending the port. Fixing the regex, allows the header to be parsed correctly.



--
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