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

frankgh pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/trunk by this push:
     new fe025c7f79 Fix incorrect nodetool suggestion when gossip mode is 
running
fe025c7f79 is described below

commit fe025c7f79e76d99e0db347518a7872fd4a114bc
Author: Francisco Guerrero <fran...@apache.org>
AuthorDate: Thu Sep 12 13:13:38 2024 -0700

    Fix incorrect nodetool suggestion when gossip mode is running
    
    patch by Francisco Guerrero; reviewed by Doug Rohrer for CASSANDRA-19905
---
 CHANGES.txt                                                      | 1 +
 src/java/org/apache/cassandra/tcm/migration/GossipProcessor.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index 5722795076..d1488d59b7 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 5.1
+ * Fix incorrect nodetool suggestion when gossip mode is running 
(CASSANDRA-19905)
  * SAI support for BETWEEN operator (CASSANDRA-19688)
  * Fix BETWEEN filtering for reversed clustering columns (CASSANDRA-19878)
  * Retry if node leaves CMS while committing a transformation (CASSANDRA-19872)
diff --git a/src/java/org/apache/cassandra/tcm/migration/GossipProcessor.java 
b/src/java/org/apache/cassandra/tcm/migration/GossipProcessor.java
index beb71feb12..0cb654f19a 100644
--- a/src/java/org/apache/cassandra/tcm/migration/GossipProcessor.java
+++ b/src/java/org/apache/cassandra/tcm/migration/GossipProcessor.java
@@ -31,7 +31,7 @@ public class GossipProcessor implements Processor
     @Override
     public Commit.Result commit(Entry.Id entryId, Transformation transform, 
Epoch lastKnown, Retry.Deadline retryPolicy)
     {
-        throw new IllegalStateException("Can't commit transformations when 
running in gossip mode. Enable the ClusterMetadataService with `nodetool 
addtocms`.");
+        throw new IllegalStateException("Can't commit transformations when 
running in gossip mode. Enable the ClusterMetadataService with `nodetool cms 
initialize`.");
     }
 
     @Override


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

Reply via email to