cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cassandra git commit: Change default start_native_transport to true and remove from jvm.options
Date Thu, 20 Jul 2017 07:44:26 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk fd0657140 -> 12d4e2f18


Change default start_native_transport to true and remove from jvm.options

patch by Tomas Repik; reviewed by Stefan Podkowinski for CASSANDRA-13656


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

Branch: refs/heads/trunk
Commit: 12d4e2f189fb228250edc876963d0c74b5ab0d4f
Parents: fd06571
Author: Tomas Repik <trepik@redhat.com>
Authored: Tue Jul 18 14:12:19 2017 +0200
Committer: Stefan Podkowinski <stefan.podkowinski@1und1.de>
Committed: Thu Jul 20 09:43:02 2017 +0200

----------------------------------------------------------------------
 CHANGES.txt                                      | 1 +
 conf/jvm.options                                 | 3 ---
 src/java/org/apache/cassandra/config/Config.java | 2 +-
 3 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/12d4e2f1/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 3fb2716..80d82dd 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 4.0
+ * Default for start_native_transport now true if not set in config (CASSANDRA-13656)
  * Don't add localhost to the graph when calculating where to stream from (CASSANDRA-13583)
  * Allow skipping equality-restricted clustering columns in ORDER BY clause (CASSANDRA-10271)
  * Use common nowInSec for validation compactions (CASSANDRA-13671)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/12d4e2f1/conf/jvm.options
----------------------------------------------------------------------
diff --git a/conf/jvm.options b/conf/jvm.options
index 398b52f..17376d6 100644
--- a/conf/jvm.options
+++ b/conf/jvm.options
@@ -56,9 +56,6 @@
 # Set the SSL port for encrypted communication. (Default: 7001)
 #-Dcassandra.ssl_storage_port=port
 
-# Enable or disable the native transport server. See start_native_transport in cassandra.yaml.
-# cassandra.start_native_transport=true|false
-
 # Set the port for inter-node communication. (Default: 7000)
 #-Dcassandra.storage_port=port
 

http://git-wip-us.apache.org/repos/asf/cassandra/blob/12d4e2f1/src/java/org/apache/cassandra/config/Config.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/config/Config.java b/src/java/org/apache/cassandra/config/Config.java
index b7bacde..22f3551 100644
--- a/src/java/org/apache/cassandra/config/Config.java
+++ b/src/java/org/apache/cassandra/config/Config.java
@@ -142,7 +142,7 @@ public class Config
     public int internode_send_buff_size_in_bytes = 0;
     public int internode_recv_buff_size_in_bytes = 0;
 
-    public boolean start_native_transport = false;
+    public boolean start_native_transport = true;
     public int native_transport_port = 9042;
     public Integer native_transport_port_ssl = null;
     public int native_transport_max_threads = 128;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message