summaryrefslogtreecommitdiffstats
path: root/src/commands/cluster-count-failure-reports.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cluster-count-failure-reports.json')
-rw-r--r--src/commands/cluster-count-failure-reports.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/commands/cluster-count-failure-reports.json b/src/commands/cluster-count-failure-reports.json
new file mode 100644
index 0000000..b80632d
--- /dev/null
+++ b/src/commands/cluster-count-failure-reports.json
@@ -0,0 +1,29 @@
+{
+ "COUNT-FAILURE-REPORTS": {
+ "summary": "Returns the number of active failure reports active for a node.",
+ "complexity": "O(N) where N is the number of failure reports",
+ "group": "cluster",
+ "since": "3.0.0",
+ "arity": 3,
+ "container": "CLUSTER",
+ "function": "clusterCommand",
+ "command_flags": [
+ "ADMIN",
+ "STALE"
+ ],
+ "command_tips": [
+ "NONDETERMINISTIC_OUTPUT"
+ ],
+ "arguments": [
+ {
+ "name": "node-id",
+ "type": "string"
+ }
+ ],
+ "reply_schema": {
+ "description": "the number of active failure reports for the node",
+ "type": "integer",
+ "minimum": 0
+ }
+ }
+}