[
https://issues.apache.org/jira/browse/CASSCPP-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18096599#comment-18096599
]
Yifan Cai commented on CASSCPP-5:
---------------------------------
+1 on the patch
> `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
> Priority: High
> Fix For: 2.17.2
>
> Time Spent: 1h 40m
> 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: [email protected]
For additional commands, e-mail: [email protected]