Alain RODRIGUEZ created CASSANDRA-14101:
-------------------------------------------

             Summary: By default, start native disable thrift.
                 Key: CASSANDRA-14101
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14101
             Project: Cassandra
          Issue Type: Bug
          Components: Configuration
            Reporter: Alain RODRIGUEZ
            Priority: Minor


I noticed today that the default for {{start_native_transport}} is {{false}} 
and {{start_rpc}} is set to {{true}}.

I think it would be good to be coherent here, so someone commenting or dropping 
this option from the configuration file would not disable the native protocol.

For {{start_rpc}}:

https://github.com/apache/cassandra/blob/cassandra-3.11.1/src/java/org/apache/cassandra/config/Config.java#L136
 

https://github.com/apache/cassandra/blob/cassandra-3.11.1/conf/cassandra.yaml#L662

Should probably converge to {{false}}.

For {{start_native_transport}}:

https://github.com/apache/cassandra/blob/cassandra-3.11.1/src/java/org/apache/cassandra/config/Config.java#L152

https://github.com/apache/cassandra/blob/cassandra-3.11.1/conf/cassandra.yaml#L630

Should probably converge to {{true}}.

I think this is like this since C* 1.2.5 (default {{start_native_transport}} 
was changed in {{cassandra.yaml}}, but not in {{Config.java}}), and it is still 
'wrong' in the latest versions such as Cassandra 3.11.1.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to