[ https://issues.apache.org/jira/browse/CASSANDRA-17782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17577985#comment-17577985 ]
Brandon Williams edited comment on CASSANDRA-17782 at 8/10/22 1:31 PM: ----------------------------------------------------------------------- [4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-17782-4.1] [!https://ci-cassandra.apache.org/job/Cassandra-devbranch/1859/badge/icon!|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/1859/pipeline] [trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-17782-trunk] [!https://ci-cassandra.apache.org/job/Cassandra-devbranch/1860/badge/icon!|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/1860/pipeline] was (Author: brandon.williams): [!https://ci-cassandra.apache.org/job/Cassandra-devbranch/1859/badge/icon!|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/1859/pipeline] [!https://ci-cassandra.apache.org/job/Cassandra-devbranch/1860/badge/icon!|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/1860/pipeline] > `DatabaseDescriptor#clientInitialization` should set the `newFailureDetector` > (maybe to a NoOpFailureDetector?) > --------------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-17782 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17782 > Project: Cassandra > Issue Type: Bug > Components: Local/Startup and Shutdown > Reporter: Doug Rohrer > Assignee: Doug Rohrer > Priority: Normal > Fix For: 4.1-beta, 4.1.x > > Attachments: CASSANDRA-17782.patch > > > 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. -- 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