Comment that 0.0.0.0 may confuse some client drivers

Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/1d5ecab2
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/1d5ecab2
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/1d5ecab2

Branch: refs/heads/trunk
Commit: 1d5ecab2faac0718f9f3c89f9e8daab0d37ba863
Parents: 3529ac7
Author: Sylvain Lebresne <sylv...@datastax.com>
Authored: Mon Aug 19 17:20:32 2013 +0200
Committer: Sylvain Lebresne <sylv...@datastax.com>
Committed: Mon Aug 19 17:20:32 2013 +0200

----------------------------------------------------------------------
 conf/cassandra.yaml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/1d5ecab2/conf/cassandra.yaml
----------------------------------------------------------------------
diff --git a/conf/cassandra.yaml b/conf/cassandra.yaml
index 75ef331..49e9874 100644
--- a/conf/cassandra.yaml
+++ b/conf/cassandra.yaml
@@ -348,12 +348,16 @@ native_transport_port: 9042
 # Whether to start the thrift rpc server.
 start_rpc: true
 
-# The address to bind the Thrift RPC service to -- clients connect
-# here. Unlike ListenAddress above, you _can_ specify 0.0.0.0 here if
-# you want Thrift to listen on all interfaces.
-# 
+# The address to bind the Thrift RPC service and native transport
+# server -- clients connect here.
+#
 # Leaving this blank has the same effect it does for ListenAddress,
 # (i.e. it will be based on the configured hostname of the node).
+#
+# Note that unlike ListenAddress above, it is allowed to specify 0.0.0.0
+# here if you want to listen on all interfaces but is not best practice
+# as it is known to confuse the node auto-discovery features of some
+# client drivers.
 rpc_address: localhost
 # port for Thrift to listen for clients on
 rpc_port: 9160

Reply via email to