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

aweisberg pushed a commit to branch cep-45-mutation-tracking
in repository https://gitbox.apache.org/repos/asf/cassandra.git

commit 9bdb73f1ba7c10951ac6c6eaad90eedb9b1c93ca
Author: Ariel Weisberg <[email protected]>
AuthorDate: Wed Aug 12 13:56:55 2026 -0400

    CEP-45: Add missing nodetool mtadmin help test fixtures
    
    NodetoolCommand registered MTAdmin without the golden files
    NodetoolHelpCommandsOutputTest compares against, failing mtadmin,
    mtadmin getconfig, mtadmin setconfig and the top level command list.
    Generated from this branch's own bin/nodetool help output; the
    regenerated top level list differed from the committed fixture by
    exactly the one mtadmin line.
---
 test/resources/nodetool/help/mtadmin           | 43 ++++++++++++++++++++++++++
 test/resources/nodetool/help/mtadmin$getconfig | 24 ++++++++++++++
 test/resources/nodetool/help/mtadmin$setconfig | 36 +++++++++++++++++++++
 test/resources/nodetool/help/nodetool          |  1 +
 4 files changed, 104 insertions(+)

diff --git a/test/resources/nodetool/help/mtadmin 
b/test/resources/nodetool/help/mtadmin
new file mode 100644
index 0000000000..0d2b141ea7
--- /dev/null
+++ b/test/resources/nodetool/help/mtadmin
@@ -0,0 +1,43 @@
+NAME
+        nodetool mtadmin - Manage mutation tracking
+
+SYNOPSIS
+        nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
+                [(-pw <password> | --password <password>)]
+                [(-pwf <passwordFilePath> | --password-file 
<passwordFilePath>)]
+                [(-u <username> | --username <username>)] mtadmin <command> 
[<args>]
+
+        nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
+                [(-pw <password> | --password <password>)]
+                [(-pwf <passwordFilePath> | --password-file 
<passwordFilePath>)]
+                [(-u <username> | --username <username>)] mtadmin getconfig
+
+        nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
+                [(-pw <password> | --password <password>)]
+                [(-pwf <passwordFilePath> | --password-file 
<passwordFilePath>)]
+                [(-u <username> | --username <username>)] mtadmin setconfig 
[--]
+                <paramType> <paramValue>
+
+OPTIONS
+        -h <host>, --host <host>
+            Node hostname or ip address
+
+        -p <port>, --port <port>
+            Remote jmx agent port number
+
+        -pw <password>, --password <password>
+            Remote jmx agent password
+
+        -pwf <passwordFilePath>, --password-file <passwordFilePath>
+            Path to the JMX password file
+
+        -u <username>, --username <username>
+            Remote jmx agent username
+
+COMMANDS
+        With no arguments, Display help information
+
+        getconfig
+            Print mutation tracking configurations
+        setconfig
+            Sets the mutation tracking configuration
diff --git a/test/resources/nodetool/help/mtadmin$getconfig 
b/test/resources/nodetool/help/mtadmin$getconfig
new file mode 100644
index 0000000000..46d743bfba
--- /dev/null
+++ b/test/resources/nodetool/help/mtadmin$getconfig
@@ -0,0 +1,24 @@
+NAME
+        nodetool mtadmin getconfig - Print mutation tracking configurations
+
+SYNOPSIS
+        nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
+                [(-pw <password> | --password <password>)]
+                [(-pwf <passwordFilePath> | --password-file 
<passwordFilePath>)]
+                [(-u <username> | --username <username>)] mtadmin getconfig
+
+OPTIONS
+        -h <host>, --host <host>
+            Node hostname or ip address
+
+        -p <port>, --port <port>
+            Remote jmx agent port number
+
+        -pw <password>, --password <password>
+            Remote jmx agent password
+
+        -pwf <passwordFilePath>, --password-file <passwordFilePath>
+            Path to the JMX password file
+
+        -u <username>, --username <username>
+            Remote jmx agent username
diff --git a/test/resources/nodetool/help/mtadmin$setconfig 
b/test/resources/nodetool/help/mtadmin$setconfig
new file mode 100644
index 0000000000..ea30d9c779
--- /dev/null
+++ b/test/resources/nodetool/help/mtadmin$setconfig
@@ -0,0 +1,36 @@
+NAME
+        nodetool mtadmin setconfig - Sets the mutation tracking configuration
+
+SYNOPSIS
+        nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
+                [(-pw <password> | --password <password>)]
+                [(-pwf <passwordFilePath> | --password-file 
<passwordFilePath>)]
+                [(-u <username> | --username <username>)] mtadmin setconfig 
[--]
+                <paramType> <paramValue>
+
+OPTIONS
+        -h <host>, --host <host>
+            Node hostname or ip address
+
+        -p <port>, --port <port>
+            Remote jmx agent port number
+
+        -pw <password>, --password <password>
+            Remote jmx agent password
+
+        -pwf <passwordFilePath>, --password-file <passwordFilePath>
+            Path to the JMX password file
+
+        -u <username>, --username <username>
+            Remote jmx agent username
+
+        --
+            This option can be used to separate command-line options from the
+            list of argument, (useful when arguments might be mistaken for
+            command-line options
+
+        <paramType>
+            Mutation tracking param type.
+
+        <paramValue>
+            Mutation tracking param value
diff --git a/test/resources/nodetool/help/nodetool 
b/test/resources/nodetool/help/nodetool
index a3fe2c520e..023cc4f82f 100644
--- a/test/resources/nodetool/help/nodetool
+++ b/test/resources/nodetool/help/nodetool
@@ -95,6 +95,7 @@ The most commonly used nodetool commands are:
     listpendinghints                    Print all pending hints that this node 
has
     listsnapshots                       Lists all the snapshots along with the 
size on disk and true size. True size is the total size of all SSTables which 
are not backed up to disk. Size on disk is total size of the snapshot on disk. 
Total TrueDiskSpaceUsed does not make any SSTable deduplication.
     move                                Move node on the token ring to a new 
token
+    mtadmin                             Manage mutation tracking
     netstats                            Print network information on provided 
host (connecting node by default)
     pausehandoff                        Pause hints delivery process
     profile                             Manage Async-Profiler on a Cassandra 
process


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to