You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Bret McGuire (Jira)" <ji...@apache.org> on 2026/07/20 00:03:00 UTC

[jira] [Assigned] (CASSCPP-5) `cass_cluster_set_load_balance_dc_aware_n` fails with NULL/empty local DC

     [ https://issues.apache.org/jira/browse/CASSCPP-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bret McGuire reassigned CASSCPP-5:
----------------------------------

    Assignee: Bret McGuire

> `cass_cluster_set_load_balance_dc_aware_n` fails with NULL/empty local DC
> -------------------------------------------------------------------------
>
>                 Key: CASSCPP-5
>                 URL: https://issues.apache.org/jira/browse/CASSCPP-5
>             Project: Apache Cassandra C/C++ driver
>          Issue Type: Improvement
>            Reporter: Bret McGuire
>            Assignee: Bret McGuire
>            Priority: High
>             Fix For: 2.17.2
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Lifted version of [CPP-998|https://datastax-oss.atlassian.net/browse/CPP-998].  Original description follows:
> The function cass_cluster_set_load_balance_dc_aware_n returns a CASS_ERROR_LIB_BAD_PARAMS error in case a NULL/empty string is passed as a local DC, which makes it impossible to instruct the driver to use a local DC from the first connected contact point as described in the documentation.
> The function uses the DCAwarePolicy class under the hood, whose behaviour conforms to that described in the documentation: passing an empty string causes the driver to use the DC from the first connected host.



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