CASSANDRA-15904: Add compound primary key example to nodetool getendpoints help

This commit is contained in:
Arvind Kandpal 2026-07-24 15:22:50 +05:30
parent 4066139d3f
commit 31f1b5f213
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ public class GetEndpoints extends AbstractCommand
@Parameters(index = "1", arity = "0..1", description = "The table for which we need to find the endpoint")
private String table;
@Parameters(index = "2", arity = "0..1", description = "The partition key for which we need to find the endpoint")
@Parameters(index = "2", arity = "0..1", description = "The partition key for which we need to find the endpoint (e.g., pk1:pk2:pk3 for compound keys)")
private String key;
@Mixin

View File

@ -34,4 +34,4 @@ OPTIONS
<keyspace> <table> <key>
The keyspace, the table, and the partition key for which we need to
find the endpoint
find the endpoint (e.g., pk1:pk2:pk3 for compound keys)