This is an automated email from the ASF dual-hosted git repository.
aweisberg pushed a commit to branch cassandra-3.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/cassandra-3.0 by this push:
new 4f2fe19 Add missing commands to nodetool-completion
4f2fe19 is described below
commit 4f2fe195208197ac663b8b1225a76e1219228ced
Author: jean carlo <[email protected]>
AuthorDate: Sun Jan 13 22:21:46 2019 +0100
Add missing commands to nodetool-completion
Patch by Jean Carlo; Reviewed by Dinesh Joshi for CASSANDRA-14916
---
CHANGES.txt | 1 +
debian/nodetool-completion | 39 ++++++++++++++++++++++++++++++---------
2 files changed, 31 insertions(+), 9 deletions(-)
diff --git a/CHANGES.txt b/CHANGES.txt
index c06a6c1..5e8845f 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
3.0.19
+ * Add missing commands to nodetool-completion (CASSANDRA-14916)
* Anti-compaction temporarily corrupts sstable state for readers
(CASSANDRA-15004)
Merged from 2.2:
* Multi-version in-JVM dtests (CASSANDRA-14937)
diff --git a/debian/nodetool-completion b/debian/nodetool-completion
index 7dc35de..f6f3d5b 100644
--- a/debian/nodetool-completion
+++ b/debian/nodetool-completion
@@ -53,25 +53,31 @@ have nodetool && have cqlsh &&
_get_comp_words_by_ref cur prev
local shopt='
- cfstats
- compactionstats
+ bootstrap
compactionhistory
+ compactionstats
decommission
describecluster
disablebackup
disablebinary
disablegossip
disablehandoff
+ disablehintsfordc
disablethrift
drain
enablebackup
enablebinary
enablegossip
enablehandoff
+ enablehintsfordc
enablethrift
+ failuredetector
+ gcstats
getcompactionthroughput
+ getinterdcstreamthroughput
getlogginglevels
getstreamthroughput
+ gettraceprobability
gossipinfo
help
invalidatecountercache
@@ -82,21 +88,30 @@ have nodetool && have cqlsh &&
pausehandoff
proxyhistograms
rangekeysample
+ refreshsizeestimates
+ reloadlocalschema
reloadtriggers
+ replaybatchlog
resetlocalschema
resumehandoff
ring
+ sethintedhandoffthrottlekb
+ setinterdcstreamthroughput
setlogginglevel
status
+ statusbackup
statusbinary
+ statusgossip
+ statushandoff
statusthrift
stopdaemon
+ tablestats
tpstats
version
'
local lngopt='
- cfhistograms
+ assassinate
cleanup
clearsnapshot
compact
@@ -124,13 +139,14 @@ have nodetool && have cqlsh &&
settraceprobability
snapshot
stop
- taketoken
+ tablehistograms
+ toppartitions
truncatehints
upgradesstables
- '
+ verify
+ '
local optwks='
- cfhistograms
cleanup
clearsnapshot
compact
@@ -145,6 +161,9 @@ have nodetool && have cqlsh &&
scrub
setcompactionthreshold
snapshot
+ tablehistograms
+ toppartitions
+ verify
'
local optwcfs='
@@ -155,7 +174,9 @@ have nodetool && have cqlsh &&
flush
repair
scrub
+ toppartitions
upgradesstables
+ verify
'
if [[ $COMP_CWORD -eq 1 ]] ; then
@@ -177,14 +198,14 @@ have nodetool && have cqlsh &&
return 0
;;
stop)
- COMPREPLY=( $(compgen -W "COMPACTION VALIDATION
CLEANUP SCRUB INDEX_BUILD" -- "${cur}") )
+ COMPREPLY=( $(compgen -W "COMPACTION VALIDATION
CLEANUP SCRUB VERIFY INDEX_BUILD" -- "${cur}") )
return 0
;;
info)
COMPREPLY=( $(compgen -W "-T --tokens" -- "${cur}") )
return 0
;;
- rebuild)
+ rebuild|disablehintsfordc|enablehintsfordc)
show_datacenters "${cur}"
return 0
;;
@@ -197,7 +218,7 @@ have nodetool && have cqlsh &&
fi
elif [[ $COMP_CWORD -eq 3 ]] ; then
case "${COMP_WORDS[1]}" in
-
cfhistograms|cleanup|compact|flush|getcompactionthreshold|getendpoints|getsstables|rebuild_index|refresh|repair|scrub|setcompactionthreshold)
+
cleanup|compact|flush|getcompactionthreshold|getendpoints|getsstables|rebuild_index|refresh|repair|scrub|setcompactionthreshold|tablehistograms|toppartitions|verify)
show_cfs ${prev} ${cur}
return 0
;;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]