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
a83e3663
Commit
a83e3663
authored
Feb 28, 2022
by
Oran Agra
Browse files
Merge remote-tracking branch 'origin/unstable' into 7.0
parents
d5915a16
5860fa3d
Changes
142
Hide whitespace changes
Inline
Side-by-side
src/commands/cluster-setslot.json
View file @
a83e3663
...
@@ -26,17 +26,17 @@
...
@@ -26,17 +26,17 @@
"arguments"
:
[
"arguments"
:
[
{
{
"name"
:
"node-id"
,
"name"
:
"node-id"
,
"type"
:
"
integer
"
,
"type"
:
"
string
"
,
"token"
:
"IMPORTING"
"token"
:
"IMPORTING"
},
},
{
{
"name"
:
"node-id"
,
"name"
:
"node-id"
,
"type"
:
"
integer
"
,
"type"
:
"
string
"
,
"token"
:
"MIGRATING"
"token"
:
"MIGRATING"
},
},
{
{
"name"
:
"node-id"
,
"name"
:
"node-id"
,
"type"
:
"
integer
"
,
"type"
:
"
string
"
,
"token"
:
"NODE"
"token"
:
"NODE"
},
},
{
{
...
...
src/commands/command-getkeysandflags.json
0 → 100644
View file @
a83e3663
{
"GETKEYSANDFLAGS"
:
{
"summary"
:
"Extract keys given a full Redis command"
,
"complexity"
:
"O(N) where N is the number of arguments to the command"
,
"group"
:
"server"
,
"since"
:
"7.0.0"
,
"arity"
:
-4
,
"container"
:
"COMMAND"
,
"function"
:
"commandGetKeysAndFlagsCommand"
,
"command_flags"
:
[
"LOADING"
,
"STALE"
],
"acl_categories"
:
[
"CONNECTION"
]
}
}
src/commands/fcall.json
View file @
a83e3663
{
{
"FCALL"
:
{
"FCALL"
:
{
"summary"
:
"
PATCH__TBD__38__
"
,
"summary"
:
"
Invoke a function
"
,
"complexity"
:
"
PATCH__TBD__37__
"
,
"complexity"
:
"
Depends on the function that is executed.
"
,
"group"
:
"scripting"
,
"group"
:
"scripting"
,
"since"
:
"7.0.0"
,
"since"
:
"7.0.0"
,
"arity"
:
-3
,
"arity"
:
-3
,
...
...
src/commands/fcall_ro.json
View file @
a83e3663
{
{
"FCALL_RO"
:
{
"FCALL_RO"
:
{
"summary"
:
"
PATCH__TBD__7__
"
,
"summary"
:
"
Invoke a read-only function
"
,
"complexity"
:
"
PATCH__TBD__6__
"
,
"complexity"
:
"
Depends on the function that is executed.
"
,
"group"
:
"scripting"
,
"group"
:
"scripting"
,
"since"
:
"7.0.0"
,
"since"
:
"7.0.0"
,
"arity"
:
-3
,
"arity"
:
-3
,
...
...
src/commands/function-delete.json
View file @
a83e3663
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
],
],
"arguments"
:
[
"arguments"
:
[
{
{
"name"
:
"
function
-name"
,
"name"
:
"
library
-name"
,
"type"
:
"string"
"type"
:
"string"
}
}
]
]
...
...
src/commands/function-load.json
View file @
a83e3663
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
{
{
"name"
:
"library-description"
,
"name"
:
"library-description"
,
"type"
:
"string"
,
"type"
:
"string"
,
"token"
:
"DESC"
,
"token"
:
"DESC
RIPTION
"
,
"optional"
:
true
"optional"
:
true
},
},
{
{
...
...
src/commands/info.json
View file @
a83e3663
...
@@ -6,6 +6,12 @@
...
@@ -6,6 +6,12 @@
"since"
:
"1.0.0"
,
"since"
:
"1.0.0"
,
"arity"
:
-1
,
"arity"
:
-1
,
"function"
:
"infoCommand"
,
"function"
:
"infoCommand"
,
"history"
:
[
[
"7.0.0"
,
"Added support for taking multiple section arguments."
]
],
"command_flags"
:
[
"command_flags"
:
[
"LOADING"
,
"LOADING"
,
"STALE"
,
"STALE"
,
...
@@ -23,6 +29,7 @@
...
@@ -23,6 +29,7 @@
{
{
"name"
:
"section"
,
"name"
:
"section"
,
"type"
:
"string"
,
"type"
:
"string"
,
"multiple"
:
true
,
"optional"
:
true
"optional"
:
true
}
}
]
]
...
...
src/commands/pubsub-shardnumsub.json
View file @
a83e3663
...
@@ -11,6 +11,14 @@
...
@@ -11,6 +11,14 @@
"PUBSUB"
,
"PUBSUB"
,
"LOADING"
,
"LOADING"
,
"STALE"
"STALE"
],
"arguments"
:
[
{
"name"
:
"channel"
,
"type"
:
"string"
,
"optional"
:
true
,
"multiple"
:
true
}
]
]
}
}
}
}
src/commands/replconf.json
View file @
a83e3663
...
@@ -13,7 +13,8 @@
...
@@ -13,7 +13,8 @@
"ADMIN"
,
"ADMIN"
,
"NOSCRIPT"
,
"NOSCRIPT"
,
"LOADING"
,
"LOADING"
,
"STALE"
"STALE"
,
"ALLOW_BUSY"
]
]
}
}
}
}
src/commands/replicaof.json
View file @
a83e3663
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
"command_flags"
:
[
"command_flags"
:
[
"NO_ASYNC_LOADING"
,
"NO_ASYNC_LOADING"
,
"ADMIN"
,
"ADMIN"
,
"ALLOW_BUSY"
,
"NOSCRIPT"
,
"NOSCRIPT"
,
"STALE"
"STALE"
],
],
...
...
src/commands/sentinel-debug.json
View file @
a83e3663
{
{
"DEBUG"
:
{
"DEBUG"
:
{
"summary"
:
"List or update the current configurable parameters"
,
"complexity"
:
"O(N) where N is the number of configurable parameters"
,
"group"
:
"sentinel"
,
"group"
:
"sentinel"
,
"since"
:
"7.0.0"
,
"since"
:
"7.0.0"
,
"arity"
:
-2
,
"arity"
:
-2
,
...
...
src/commands/slaveof.json
View file @
a83e3663
{
{
"SLAVEOF"
:
{
"SLAVEOF"
:
{
"summary"
:
"Make the server a replica of another instance, or promote it as master.
Deprecated starting with Redis 5. Use REPLICAOF instead.
"
,
"summary"
:
"Make the server a replica of another instance, or promote it as master."
,
"complexity"
:
"O(1)"
,
"complexity"
:
"O(1)"
,
"group"
:
"server"
,
"group"
:
"server"
,
"since"
:
"1.0.0"
,
"since"
:
"1.0.0"
,
"arity"
:
3
,
"arity"
:
3
,
"function"
:
"replicaofCommand"
,
"function"
:
"replicaofCommand"
,
"deprecated_since"
:
"5.0.0"
,
"replaced_by"
:
"`REPLICAOF`"
,
"doc_flags"
:
[
"DEPRECATED"
],
"command_flags"
:
[
"command_flags"
:
[
"NO_ASYNC_LOADING"
,
"NO_ASYNC_LOADING"
,
"ADMIN"
,
"ADMIN"
,
...
...
src/commands/spublish.json
View file @
a83e3663
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
"key_specs"
:
[
"key_specs"
:
[
{
{
"flags"
:
[
"flags"
:
[
"
CHANNEL
"
"
NOT_KEY
"
],
],
"begin_search"
:
{
"begin_search"
:
{
"index"
:
{
"index"
:
{
...
...
src/commands/ssubscribe.json
View file @
a83e3663
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
"key_specs"
:
[
"key_specs"
:
[
{
{
"flags"
:
[
"flags"
:
[
"
CHANNEL
"
"
NOT_KEY
"
],
],
"begin_search"
:
{
"begin_search"
:
{
"index"
:
{
"index"
:
{
...
...
src/commands/sunsubscribe.json
View file @
a83e3663
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
"key_specs"
:
[
"key_specs"
:
[
{
{
"flags"
:
[
"flags"
:
[
"
CHANNEL
"
"
NOT_KEY
"
],
],
"begin_search"
:
{
"begin_search"
:
{
"index"
:
{
"index"
:
{
...
...
src/commands/xautoclaim.json
View file @
a83e3663
...
@@ -6,6 +6,12 @@
...
@@ -6,6 +6,12 @@
"since"
:
"6.2.0"
,
"since"
:
"6.2.0"
,
"arity"
:
-6
,
"arity"
:
-6
,
"function"
:
"xautoclaimCommand"
,
"function"
:
"xautoclaimCommand"
,
"history"
:
[
[
"7.0.0"
,
"Added an element to the reply array, containing deleted entries the command cleared from the PEL"
]
],
"command_flags"
:
[
"command_flags"
:
[
"WRITE"
,
"WRITE"
,
"FAST"
"FAST"
...
...
src/commands/xgroup-create.json
View file @
a83e3663
...
@@ -7,6 +7,12 @@
...
@@ -7,6 +7,12 @@
"arity"
:
-5
,
"arity"
:
-5
,
"container"
:
"XGROUP"
,
"container"
:
"XGROUP"
,
"function"
:
"xgroupCommand"
,
"function"
:
"xgroupCommand"
,
"history"
:
[
[
"7.0.0"
,
"Added the `entries_read` named argument."
]
],
"command_flags"
:
[
"command_flags"
:
[
"WRITE"
,
"WRITE"
,
"DENYOOM"
"DENYOOM"
...
@@ -64,6 +70,12 @@
...
@@ -64,6 +70,12 @@
"name"
:
"mkstream"
,
"name"
:
"mkstream"
,
"type"
:
"pure-token"
,
"type"
:
"pure-token"
,
"optional"
:
true
"optional"
:
true
},
{
"token"
:
"ENTRIESREAD"
,
"name"
:
"entries_read"
,
"type"
:
"integer"
,
"optional"
:
true
}
}
]
]
}
}
...
...
src/commands/xgroup-setid.json
View file @
a83e3663
...
@@ -4,9 +4,15 @@
...
@@ -4,9 +4,15 @@
"complexity"
:
"O(1)"
,
"complexity"
:
"O(1)"
,
"group"
:
"stream"
,
"group"
:
"stream"
,
"since"
:
"5.0.0"
,
"since"
:
"5.0.0"
,
"arity"
:
5
,
"arity"
:
-
5
,
"container"
:
"XGROUP"
,
"container"
:
"XGROUP"
,
"function"
:
"xgroupCommand"
,
"function"
:
"xgroupCommand"
,
"history"
:
[
[
"7.0.0"
,
"Added the optional `entries_read` argument."
]
],
"command_flags"
:
[
"command_flags"
:
[
"WRITE"
"WRITE"
],
],
...
@@ -57,6 +63,12 @@
...
@@ -57,6 +63,12 @@
"token"
:
"$"
"token"
:
"$"
}
}
]
]
},
{
"name"
:
"entries_read"
,
"token"
:
"ENTRIESREAD"
,
"type"
:
"integer"
,
"optional"
:
true
}
}
]
]
}
}
...
...
src/commands/xinfo-groups.json
View file @
a83e3663
...
@@ -6,6 +6,12 @@
...
@@ -6,6 +6,12 @@
"since"
:
"5.0.0"
,
"since"
:
"5.0.0"
,
"arity"
:
3
,
"arity"
:
3
,
"container"
:
"XINFO"
,
"container"
:
"XINFO"
,
"history"
:
[
[
"7.0.0"
,
"Added the `entries-read` and `lag` fields"
]
],
"function"
:
"xinfoCommand"
,
"function"
:
"xinfoCommand"
,
"command_flags"
:
[
"command_flags"
:
[
"READONLY"
"READONLY"
...
...
src/commands/xinfo-stream.json
View file @
a83e3663
...
@@ -6,6 +6,12 @@
...
@@ -6,6 +6,12 @@
"since"
:
"5.0.0"
,
"since"
:
"5.0.0"
,
"arity"
:
-3
,
"arity"
:
-3
,
"container"
:
"XINFO"
,
"container"
:
"XINFO"
,
"history"
:
[
[
"7.0.0"
,
"Added the `max-deleted-entry-id`, `entries-added`, `recorded-first-entry-id`, `entries-read` and `lag` fields"
]
],
"function"
:
"xinfoCommand"
,
"function"
:
"xinfoCommand"
,
"command_flags"
:
[
"command_flags"
:
[
"READONLY"
"READONLY"
...
...
Prev
1
2
3
4
5
6
7
8
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