Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17752

fix restarting of services on gossipping-only members

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            smiklosovic Stefan Miklosovic
            smiklosovic Stefan Miklosovic
            Stefan Miklosovic
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m