From f8e9f3f2cc3dd109fc69c820fc4fe75bce68b400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Uzarski?= Date: Thu, 17 Oct 2024 15:03:29 +0200 Subject: [PATCH] cassandra.h: remove mention about dc awareness being enabled by default This is not true (and I doubt it will ever be) for cpp-rust-driver. --- include/cassandra.h | 7 ------- scylla-rust-wrapper/extern/cassandra.h | 7 ------- 2 files changed, 14 deletions(-) diff --git a/include/cassandra.h b/include/cassandra.h index e21692b4..b1dcc346 100644 --- a/include/cassandra.h +++ b/include/cassandra.h @@ -2206,13 +2206,6 @@ cass_cluster_set_load_balance_round_robin(CassCluster* cluster); * For each query, all live nodes in a primary 'local' DC are tried first, * followed by any node from other DCs. * - * Note: This is the default, and does not need to be called unless - * switching an existing from another policy or changing settings. - * Without further configuration, a default local_dc is chosen from the - * first connected contact point, and no remote hosts are considered in - * query plans. If relying on this mechanism, be sure to use only contact - * points from the local DC. - * * @deprecated The remote DC settings for DC-aware are not suitable for most * scenarios that require DC failover. There is also unhandled gap between * replication factor number of nodes failing and the full cluster failing. Only diff --git a/scylla-rust-wrapper/extern/cassandra.h b/scylla-rust-wrapper/extern/cassandra.h index e21692b4..b1dcc346 100644 --- a/scylla-rust-wrapper/extern/cassandra.h +++ b/scylla-rust-wrapper/extern/cassandra.h @@ -2206,13 +2206,6 @@ cass_cluster_set_load_balance_round_robin(CassCluster* cluster); * For each query, all live nodes in a primary 'local' DC are tried first, * followed by any node from other DCs. * - * Note: This is the default, and does not need to be called unless - * switching an existing from another policy or changing settings. - * Without further configuration, a default local_dc is chosen from the - * first connected contact point, and no remote hosts are considered in - * query plans. If relying on this mechanism, be sure to use only contact - * points from the local DC. - * * @deprecated The remote DC settings for DC-aware are not suitable for most * scenarios that require DC failover. There is also unhandled gap between * replication factor number of nodes failing and the full cluster failing. Only