Andy Tolbert created CASSANDRA-20642:
----------------------------------------

             Summary: Add set|getNativeTransportMaxConcurrentConnectionsPerIp 
to StorageProxyMBean
                 Key: CASSANDRA-20642
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20642
             Project: Apache Cassandra
          Issue Type: Improvement
          Components: Observability/JMX
            Reporter: Andy Tolbert
            Assignee: Andy Tolbert


CASSANDRA-8086 added {{native_transport_max_concurrent_connections}} and 
{{native_transport_max_concurrent_connections_per_ip}}.

At that time there were also methods added to {{StorageProxy}} to enable 
configuring each of these via JMX:

{code:java}
    public static long getNativeTransportMaxConcurrentConnections() {}

    public static void setNativeTransportMaxConcurrentConnections(long 
nativeTransportMaxConcurrentConnections) {}

    public static long getNativeTransportMaxConcurrentConnectionsPerIp() {}

    public static void setNativeTransportMaxConcurrentConnectionsPerIp(long 
native_transport_max_concurrent_connections_per_ip) {}
{code}

But notably the {{get|setNativeTransportMaxConcurrentConnectionsPerIp}} methods 
are not defined on {{StorageProxyMBean}} which prevents accessing these methods 
from JMX which could be useful if one ever needs to bump these thresholds at 
runtime.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to