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

`DatabaseDescriptor#clientInitialization` should set the `newFailureDetector` (maybe to a NoOpFailureDetector?)

    XMLWordPrintableJSON

Details

    Description

      With the introduction of a configurable FailureDetector, client users of the cassandra-all jar now need to call not just `clientInitialization` but also `setDefaultFailureDetector` in order to avoid an NPE when the failure detector is constructed. This is a breaking change from previous versions where this was not necessary.

      Calls to DatabaseDescriptor#clientInitialization should set newFailureDetector to something, either by calling setDefaultFailureDetector or creating a different (NoOp?) FailureDetector.

      Attachments

        1. CASSANDRA-17782.patch
          2 kB
          Doug Rohrer

        Issue Links

          Activity

            People

              drohrer Doug Rohrer
              drohrer Doug Rohrer
              Doug Rohrer
              Brandon Williams, Caleb Rackliffe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: