nodetool getdefaultrf
Cassandra 4.1+
This command is available in Cassandra 4.1 and later.
Displays the default replication factor.
Synopsis
Section titled “Synopsis”nodetool [connection_options] getdefaultrfSee connection options for connection options.
Description
Section titled “Description”nodetool getdefaultrf shows the default replication factor used for keyspace creation and validation. This setting affects guardrails that validate replication factor adequacy when creating or altering keyspaces.
Output Format
Section titled “Output Format”The command outputs a single numeric value representing the default replication factor:
3Examples
Section titled “Examples”Basic Usage
Section titled “Basic Usage”nodetool getdefaultrfSample output:
3Related Commands
Section titled “Related Commands”| Command | Relationship |
|---|---|
| setdefaultrf | Modify default RF |
| describecluster | Cluster information |