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

Check if native server is running before starting it up

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.7
    • None
    • None

    Description

      It is possible to enable/disable thrift and native server via nodetool. However, there is a slight difference in their behaviour. In the case of thrift server, if the server is already running, enable will ignore and will not throw any exceptions. However, in the case of native server if the server is already running an exception is thrown. In the case of thrift, we check if the server is already running but not in the case of binary. The exception is perfectly valid, but, we should have consistent behaviour with thirft and binary server.

      Attachments

        1. trunk-CASSANDRA-5728.patch
          0.5 kB
          Manoj Mainali

        Activity

          People

            mkmainali Manoj Mainali
            mkmainali Manoj Mainali
            Manoj Mainali
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: