Commit 72935b9d authored by Vitaly Arbuzov's avatar Vitaly Arbuzov
Browse files

Merge branch 'unstable' into dict-split-by-slot

parents 6baf20af 6948daca
......@@ -11,6 +11,111 @@
"NONDETERMINISTIC_OUTPUT",
"REQUEST_POLICY:ALL_SHARDS",
"RESPONSE_POLICY:SPECIAL"
]
],
"reply_schema": {
"description": "memory usage details",
"type": "object",
"additionalProperties": false,
"properties": {
"peak.allocated": {
"type": "integer"
},
"total.allocated": {
"type": "integer"
},
"startup.allocated": {
"type": "integer"
},
"replication.backlog": {
"type": "integer"
},
"clients.slaves": {
"type": "integer"
},
"clients.normal": {
"type": "integer"
},
"cluster.links": {
"type": "integer"
},
"aof.buffer": {
"type": "integer"
},
"lua.caches": {
"type": "integer"
},
"functions.caches": {
"type": "integer"
},
"overhead.total": {
"type": "integer"
},
"keys.count": {
"type": "integer"
},
"keys.bytes-per-key": {
"type": "integer"
},
"dataset.bytes": {
"type": "integer"
},
"dataset.percentage": {
"type": "number"
},
"peak.percentage": {
"type": "number"
},
"allocator.allocated": {
"type": "integer"
},
"allocator.active": {
"type": "integer"
},
"allocator.resident": {
"type": "integer"
},
"allocator-fragmentation.ratio": {
"type": "number"
},
"allocator-fragmentation.bytes": {
"type": "integer"
},
"allocator-rss.ratio": {
"type": "number"
},
"allocator-rss.bytes": {
"type": "integer"
},
"rss-overhead.ratio": {
"type": "number"
},
"rss-overhead.bytes": {
"type": "integer"
},
"fragmentation": {
"type": "number"
},
"fragmentation.bytes": {
"type": "integer"
}
},
"patternProperties": {
"^db.": {
"type": "object",
"properties": {
"overhead.hashtable.main": {
"type": "integer"
},
"overhead.hashtable.expires": {
"type": "integer"
},
"overhead.hashtable.slot-to-keys": {
"type": "integer"
}
},
"additionalProperties": false
}
}
}
}
}
......@@ -29,6 +29,18 @@
}
}
],
"reply_schema": {
"oneOf": [
{
"description": "Number of bytes that a key and its value require to be stored in RAM.",
"type": "integer"
},
{
"description": "Key does not exist.",
"type": "null"
}
]
},
"arguments": [
{
"name": "key",
......
......@@ -36,6 +36,21 @@
}
}
],
"reply_schema": {
"description": "List of values at the specified keys.",
"type": "array",
"minItems": 1,
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"arguments": [
{
"name": "key",
......
......@@ -77,6 +77,18 @@
}
}
],
"reply_schema": {
"oneOf": [
{
"const": "OK",
"description": "Success."
},
{
"const": "NOKEY",
"description": "No keys were found in the source instance."
}
]
},
"arguments": [
{
"name": "host",
......
......@@ -10,6 +10,13 @@
"command_flags": [
"LOADING",
"STALE"
]
],
"reply_schema": {
"type": "array",
"description": "Helpful text about subcommands.",
"items": {
"type": "string"
}
}
}
}
......@@ -13,6 +13,35 @@
],
"command_tips": [
"NONDETERMINISTIC_OUTPUT_ORDER"
]
],
"reply_schema": {
"type": "array",
"description": "Returns information about the modules loaded to the server.",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "Name of the module."
},
"ver": {
"type": "integer",
"description": "Version of the module."
},
"path": {
"type": "string",
"description": "Module path."
},
"args": {
"type": "array",
"description": "Module arguments.",
"items": {
"type": "string"
}
}
}
}
}
}
}
......@@ -13,6 +13,9 @@
"NOSCRIPT",
"PROTECTED"
],
"reply_schema": {
"const": "OK"
},
"arguments": [
{
"name": "path",
......
......@@ -13,6 +13,9 @@
"NOSCRIPT",
"PROTECTED"
],
"reply_schema": {
"const": "OK"
},
"arguments": [
{
"name": "path",
......
......@@ -13,6 +13,9 @@
"NOSCRIPT",
"PROTECTED"
],
"reply_schema": {
"const": "OK"
},
"arguments": [
{
"name": "name",
......
......@@ -44,6 +44,18 @@
"name": "db",
"type": "integer"
}
],
"reply_schema": {
"oneOf": [
{
"description": "key was moved",
"const": 1
},
{
"description": "key wasn't moved",
"const": 0
}
]
}
}
}
......@@ -37,6 +37,9 @@
}
}
],
"reply_schema": {
"const": "OK"
},
"arguments": [
{
"name": "data",
......
......@@ -37,6 +37,18 @@
}
}
],
"reply_schema": {
"oneOf": [
{
"description": "No key was set (at least one key already existed).",
"const": 0
},
{
"description": "All the keys were set.",
"const": 1
}
]
},
"arguments": [
{
"name": "data",
......
......@@ -15,6 +15,9 @@
],
"acl_categories": [
"TRANSACTION"
]
],
"reply_schema": {
"const": "OK"
}
}
}
......@@ -41,6 +41,18 @@
"type": "key",
"key_spec_index": 0
}
],
"reply_schema": {
"oneOf": [
{
"description": "key doesn't exist",
"type": "null"
},
{
"description": "encoding of the object",
"type": "string"
}
]
}
}
}
......@@ -41,6 +41,10 @@
"type": "key",
"key_spec_index": 0
}
]
],
"reply_schema": {
"description": "the counter's value",
"type": "integer"
}
}
}
......@@ -13,6 +13,13 @@
],
"acl_categories": [
"KEYSPACE"
]
],
"reply_schema": {
"type": "array",
"description": "Helpful text about subcommands.",
"items": {
"type": "string"
}
}
}
}
......@@ -41,6 +41,10 @@
"type": "key",
"key_spec_index": 0
}
]
],
"reply_schema": {
"description": "the idle time in seconds",
"type": "integer"
}
}
}
......@@ -41,6 +41,10 @@
"type": "key",
"key_spec_index": 0
}
]
],
"reply_schema": {
"description": "the number of references",
"type": "integer"
}
}
}
......@@ -33,6 +33,18 @@
}
}
],
"reply_schema": {
"oneOf": [
{
"const": 0,
"description": "Key does not exist or does not have an associated timeout."
},
{
"const": 1,
"description": "The timeout has been removed."
}
]
},
"arguments": [
{
"name": "key",
......
......@@ -39,6 +39,18 @@
}
}
],
"reply_schema": {
"oneOf": [
{
"const": 0,
"description": "The timeout was not set. e.g. key doesn't exist, or operation skipped due to the provided arguments."
},
{
"const": 1,
"description": "The timeout was set."
}
]
},
"arguments": [
{
"name": "key",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment