You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefan Miklosovic (Jira)" <ji...@apache.org> on 2022/07/13 11:48:00 UTC

[jira] [Updated] (CASSANDRA-17752) disablement of native transport on gossip-only member breakts its enablement

     [ https://issues.apache.org/jira/browse/CASSANDRA-17752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Miklosovic updated CASSANDRA-17752:
------------------------------------------
    Description: 
When a node is started with -Dcassandra.join_ring=false, it is possible to talk to it via CQL. If we disable it via "nodetool disablebinary", it is not possible to enable it back with "nodetool enablebinary".

The reason why is that enablebinary command eventually calls "StorageService#checkServiceAllowedToStart" and it throws when:

1) the node is draining (which does not happen)
2) it is shutting down (which does not happen)
3) is not in NORMAL state - which happens.

The state of the gossipping-only member is STARTING for ever.

The check should make an exception here, like if it is in STARTING but -Dcassandra.join_ring=false, start it anyway.

  was:
When a node is started with -Dcassanra.join_ring=false, it is possible to talk to it via CQL. If we disable it via "nodetool disablebinary", it is not possible to enable it back with "nodetool enablebinary".

The reason why is that enablebinary command eventually calls "StorageService#checkServiceAllowedToStart" and it throws when:

1) the node is draining (which does not happen)
2) it is shutting down (which does not happen)
3) is not in NORMAL state - which happens.

The state of the gossipping-only member is STARTING for ever.

The check should make an exception here, like if it is in STARTING but -Dcassandra.join_ring=false, start it anyway.


> disablement of native transport on gossip-only member breakts its enablement
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17752
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17752
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Legacy/Core, Tool/nodetool
>            Reporter: Stefan Miklosovic
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>
> When a node is started with -Dcassandra.join_ring=false, it is possible to talk to it via CQL. If we disable it via "nodetool disablebinary", it is not possible to enable it back with "nodetool enablebinary".
> The reason why is that enablebinary command eventually calls "StorageService#checkServiceAllowedToStart" and it throws when:
> 1) the node is draining (which does not happen)
> 2) it is shutting down (which does not happen)
> 3) is not in NORMAL state - which happens.
> The state of the gossipping-only member is STARTING for ever.
> The check should make an exception here, like if it is in STARTING but -Dcassandra.join_ring=false, start it anyway.



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

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