Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
72935b9d
Commit
72935b9d
authored
Mar 21, 2023
by
Vitaly Arbuzov
Browse files
Merge branch 'unstable' into dict-split-by-slot
parents
6baf20af
6948daca
Changes
456
Show whitespace changes
Inline
Side-by-side
src/commands/blmpop.json
View file @
72935b9d
...
...
@@ -35,6 +35,34 @@
}
}
],
"reply_schema"
:
{
"oneOf"
:
[
{
"description"
:
"Operation timed-out"
,
"type"
:
"null"
},
{
"description"
:
"The key from which elements were popped and the popped elements"
,
"type"
:
"array"
,
"minItems"
:
2
,
"maxItems"
:
2
,
"items"
:
[
{
"description"
:
"List key from which elements were popped."
,
"type"
:
"string"
},
{
"description"
:
"Array of popped elements."
,
"type"
:
"array"
,
"minItems"
:
1
,
"items"
:
{
"type"
:
"string"
}
}
]
}
]
},
"arguments"
:
[
{
"name"
:
"timeout"
,
...
...
src/commands/blpop.json
View file @
72935b9d
...
...
@@ -14,7 +14,6 @@
],
"command_flags"
:
[
"WRITE"
,
"NOSCRIPT"
,
"BLOCKING"
],
"acl_categories"
:
[
...
...
@@ -41,6 +40,30 @@
}
}
],
"reply_schema"
:
{
"oneOf"
:
[
{
"type"
:
"null"
,
"description"
:
"No element could be popped and timeout expired"
},
{
"description"
:
"The key from which the element was popped and the value of the popped element"
,
"type"
:
"array"
,
"minItems"
:
2
,
"maxItems"
:
2
,
"items"
:
[
{
"description"
:
"List key from which the element was popped."
,
"type"
:
"string"
},
{
"description"
:
"Value of the popped element."
,
"type"
:
"string"
}
]
}
]
},
"arguments"
:
[
{
"name"
:
"key"
,
...
...
src/commands/brpop.json
View file @
72935b9d
...
...
@@ -14,7 +14,6 @@
],
"command_flags"
:
[
"WRITE"
,
"NOSCRIPT"
,
"BLOCKING"
],
"acl_categories"
:
[
...
...
@@ -52,6 +51,29 @@
"name"
:
"timeout"
,
"type"
:
"double"
}
],
"reply_schema"
:
{
"oneOf"
:
[
{
"description"
:
"No element could be popped and the timeout expired."
,
"type"
:
"null"
},
{
"type"
:
"array"
,
"minItems"
:
2
,
"maxItems"
:
2
,
"items"
:
[
{
"description"
:
"The name of the key where an element was popped "
,
"type"
:
"string"
},
{
"description"
:
"The value of the popped element"
,
"type"
:
"string"
}
]
}
]
}
}
}
src/commands/brpoplpush.json
View file @
72935b9d
...
...
@@ -20,7 +20,6 @@
"command_flags"
:
[
"WRITE"
,
"DENYOOM"
,
"NOSCRIPT"
,
"BLOCKING"
],
"acl_categories"
:
[
...
...
@@ -65,6 +64,18 @@
}
}
],
"reply_schema"
:
{
"oneOf"
:
[
{
"type"
:
"string"
,
"description"
:
"The element being popped from source and pushed to destination."
},
{
"type"
:
"null"
,
"description"
:
"Timeout is reached."
}
]
},
"arguments"
:
[
{
"name"
:
"source"
,
...
...
src/commands/bzmpop.json
View file @
72935b9d
...
...
@@ -35,6 +35,46 @@
}
}
],
"reply_schema"
:
{
"oneOf"
:
[
{
"description"
:
"Timeout reached and no elements were popped."
,
"type"
:
"null"
},
{
"description"
:
"The keyname and the popped members."
,
"type"
:
"array"
,
"minItems"
:
2
,
"maxItems"
:
2
,
"items"
:
[
{
"description"
:
"Keyname"
,
"type"
:
"string"
},
{
"description"
:
"Popped members and their scores."
,
"type"
:
"array"
,
"uniqueItems"
:
true
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"maxItems"
:
2
,
"items"
:
[
{
"description"
:
"Member"
,
"type"
:
"string"
},
{
"description"
:
"Score"
,
"type"
:
"number"
}
]
}
}
]
}
]
},
"arguments"
:
[
{
"name"
:
"timeout"
,
...
...
src/commands/bzpopmax.json
View file @
72935b9d
...
...
@@ -14,7 +14,6 @@
],
"command_flags"
:
[
"WRITE"
,
"NOSCRIPT"
,
"FAST"
,
"BLOCKING"
],
...
...
@@ -42,6 +41,34 @@
}
}
],
"reply_schema"
:
{
"oneOf"
:
[
{
"description"
:
"Timeout reached and no elements were popped."
,
"type"
:
"null"
},
{
"description"
:
"The keyname, popped member, and its score."
,
"type"
:
"array"
,
"minItems"
:
3
,
"maxItems"
:
3
,
"items"
:
[
{
"description"
:
"Keyname"
,
"type"
:
"string"
},
{
"description"
:
"Member"
,
"type"
:
"string"
},
{
"description"
:
"Score"
,
"type"
:
"number"
}
]
}
]
},
"arguments"
:
[
{
"name"
:
"key"
,
...
...
src/commands/bzpopmin.json
View file @
72935b9d
...
...
@@ -14,7 +14,6 @@
],
"command_flags"
:
[
"WRITE"
,
"NOSCRIPT"
,
"FAST"
,
"BLOCKING"
],
...
...
@@ -42,6 +41,34 @@
}
}
],
"reply_schema"
:
{
"oneOf"
:
[
{
"description"
:
"Timeout reached and no elements were popped."
,
"type"
:
"null"
},
{
"description"
:
"The keyname, popped member, and its score."
,
"type"
:
"array"
,
"minItems"
:
3
,
"maxItems"
:
3
,
"items"
:
[
{
"description"
:
"Keyname"
,
"type"
:
"string"
},
{
"description"
:
"Member"
,
"type"
:
"string"
},
{
"description"
:
"Score"
,
"type"
:
"number"
}
]
}
]
},
"arguments"
:
[
{
"name"
:
"key"
,
...
...
src/commands/client-caching.json
View file @
72935b9d
...
...
@@ -16,6 +16,9 @@
"acl_categories"
:
[
"CONNECTION"
],
"reply_schema"
:
{
"const"
:
"OK"
},
"arguments"
:
[
{
"name"
:
"mode"
,
...
...
src/commands/client-getname.json
View file @
72935b9d
...
...
@@ -15,6 +15,18 @@
],
"acl_categories"
:
[
"CONNECTION"
],
"reply_schema"
:
{
"oneOf"
:
[
{
"type"
:
"string"
,
"description"
:
"The connection name of the current connection"
},
{
"type"
:
"null"
,
"description"
:
"Connection name was not set"
}
]
}
}
}
src/commands/client-getredir.json
View file @
72935b9d
...
...
@@ -15,6 +15,23 @@
],
"acl_categories"
:
[
"CONNECTION"
],
"reply_schema"
:
{
"oneOf"
:
[
{
"const"
:
0
,
"description"
:
"Not redirecting notifications to any client."
},
{
"const"
:
-1
,
"description"
:
"Client tracking is not enabled."
},
{
"type"
:
"integer"
,
"description"
:
"ID of the client we are redirecting the notifications to."
,
"minimum"
:
1
}
]
}
}
}
src/commands/client-help.json
View file @
72935b9d
...
...
@@ -14,6 +14,13 @@
],
"acl_categories"
:
[
"CONNECTION"
]
],
"reply_schema"
:
{
"type"
:
"array"
,
"description"
:
"Helpful text about subcommands."
,
"items"
:
{
"type"
:
"string"
}
}
}
}
src/commands/client-id.json
View file @
72935b9d
...
...
@@ -15,6 +15,10 @@
],
"acl_categories"
:
[
"CONNECTION"
]
],
"reply_schema"
:
{
"type"
:
"integer"
,
"description"
:
"The id of the client"
}
}
}
src/commands/client-info.json
View file @
72935b9d
...
...
@@ -18,6 +18,10 @@
],
"command_tips"
:
[
"NONDETERMINISTIC_OUTPUT"
]
],
"reply_schema"
:
{
"description"
:
"a unique string, as described at the CLIENT LIST page, for the current client"
,
"type"
:
"string"
}
}
}
src/commands/client-kill.json
View file @
72935b9d
...
...
@@ -141,6 +141,19 @@
}
]
}
],
"reply_schema"
:
{
"oneOf"
:
[
{
"description"
:
"when called in 3 argument format"
,
"const"
:
"OK"
},
{
"description"
:
"when called in filter/value format, the number of clients killed"
,
"type"
:
"integer"
,
"minimum"
:
0
}
]
}
}
}
src/commands/client-list.json
View file @
72935b9d
...
...
@@ -46,6 +46,10 @@
"command_tips"
:
[
"NONDETERMINISTIC_OUTPUT"
],
"reply_schema"
:
{
"type"
:
"string"
,
"description"
:
"Information and statistics about client connections"
},
"arguments"
:
[
{
"token"
:
"TYPE"
,
...
...
src/commands/client-no-evict.json
View file @
72935b9d
...
...
@@ -34,6 +34,9 @@
}
]
}
]
],
"reply_schema"
:
{
"const"
:
"OK"
}
}
}
src/commands/client-no-touch.json
View file @
72935b9d
...
...
@@ -15,6 +15,9 @@
"acl_categories"
:
[
"CONNECTION"
],
"reply_schema"
:
{
"const"
:
"OK"
},
"arguments"
:
[
{
"name"
:
"enabled"
,
...
...
src/commands/client-pause.json
View file @
72935b9d
...
...
@@ -46,6 +46,9 @@
}
]
}
]
],
"reply_schema"
:
{
"const"
:
"OK"
}
}
}
src/commands/client-reply.json
View file @
72935b9d
...
...
@@ -16,6 +16,10 @@
"acl_categories"
:
[
"CONNECTION"
],
"reply_schema"
:
{
"const"
:
"OK"
,
"description"
:
"When called with either OFF or SKIP subcommands, no reply is made. When called with ON, reply is OK."
},
"arguments"
:
[
{
"name"
:
"action"
,
...
...
src/commands/client-setname.json
View file @
72935b9d
...
...
@@ -21,6 +21,9 @@
"name"
:
"connection-name"
,
"type"
:
"string"
}
]
],
"reply_schema"
:
{
"const"
:
"OK"
}
}
}
Prev
1
2
3
4
5
6
7
…
23
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment