You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2021/06/30 20:38:31 UTC

[cassandra] branch CASSANDRA-11671 created (now 4afc504)

This is an automated email from the ASF dual-hosted git repository.

brandonwilliams pushed a change to branch CASSANDRA-11671
in repository https://gitbox.apache.org/repos/asf/cassandra.git.


      at 4afc504  switched to use SS::isInitialized()

This branch includes the following new commits:

     new 4afc504  switched to use SS::isInitialized()

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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


[cassandra] 01/01: switched to use SS::isInitialized()

Posted by br...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

brandonwilliams pushed a commit to branch CASSANDRA-11671
in repository https://gitbox.apache.org/repos/asf/cassandra.git

commit 4afc5047d8c85ccbe34ad7508c7a9f407c8240d1
Author: artsiom <a....@godeltech.com>
AuthorDate: Fri Aug 17 17:13:54 2018 +0300

    switched to use SS::isInitialized()
---
 src/java/org/apache/cassandra/locator/DynamicEndpointSnitch.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/java/org/apache/cassandra/locator/DynamicEndpointSnitch.java b/src/java/org/apache/cassandra/locator/DynamicEndpointSnitch.java
index 53e4d1d..475f4f8 100644
--- a/src/java/org/apache/cassandra/locator/DynamicEndpointSnitch.java
+++ b/src/java/org/apache/cassandra/locator/DynamicEndpointSnitch.java
@@ -284,7 +284,7 @@ public class DynamicEndpointSnitch extends AbstractEndpointSnitch implements ILa
 
     private void updateScores() // this is expensive
     {
-        if (!StorageService.instance.isGossipActive())
+        if (!StorageService.instance.isInitialized())
             return;
         if (!registered)
         {

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