Skip to content

Commit

Permalink
cassandra.h: remove mention about dc awareness being enabled by default
Browse files Browse the repository at this point in the history
This is not true (and I doubt it will ever be) for cpp-rust-driver.
  • Loading branch information
muzarski committed Oct 17, 2024
1 parent be46ac4 commit f8e9f3f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions include/cassandra.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
* <b>Note:</b> 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
Expand Down
7 changes: 0 additions & 7 deletions scylla-rust-wrapper/extern/cassandra.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
* <b>Note:</b> 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
Expand Down

0 comments on commit f8e9f3f

Please sign in to comment.