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
fb4e0d40
Unverified
Commit
fb4e0d40
authored
Apr 05, 2022
by
Oran Agra
Committed by
GitHub
Apr 05, 2022
Browse files
Merge pull request #10532 from oranagra/7.0-rc3
Release 7.0 rc3
parents
d2b5a579
8b242ef9
Changes
171
Expand all
Hide whitespace changes
Inline
Side-by-side
src/commands/sentinel-get-master-addr-by-name.json
View file @
fb4e0d40
...
...
@@ -11,6 +11,12 @@
"ADMIN"
,
"SENTINEL"
,
"ONLY_SENTINEL"
],
"arguments"
:
[
{
"name"
:
"master-name"
,
"type"
:
"string"
}
]
}
}
src/commands/sentinel-info-cache.json
View file @
fb4e0d40
...
...
@@ -4,13 +4,20 @@
"complexity"
:
"O(N) where N is the number of instances"
,
"group"
:
"sentinel"
,
"since"
:
"3.2.0"
,
"arity"
:
3
,
"arity"
:
-
3
,
"container"
:
"SENTINEL"
,
"function"
:
"sentinelCommand"
,
"command_flags"
:
[
"ADMIN"
,
"SENTINEL"
,
"ONLY_SENTINEL"
],
"arguments"
:
[
{
"name"
:
"nodename"
,
"type"
:
"string"
,
"multiple"
:
true
}
]
}
}
src/commands/sentinel-is-master-down-by-addr.json
View file @
fb4e0d40
...
...
@@ -11,6 +11,24 @@
"ADMIN"
,
"SENTINEL"
,
"ONLY_SENTINEL"
],
"arguments"
:
[
{
"name"
:
"ip"
,
"type"
:
"string"
},
{
"name"
:
"port"
,
"type"
:
"integer"
},
{
"name"
:
"current-epoch"
,
"type"
:
"integer"
},
{
"name"
:
"runid"
,
"type"
:
"string"
}
]
}
}
src/commands/sentinel-master.json
View file @
fb4e0d40
...
...
@@ -11,6 +11,12 @@
"ADMIN"
,
"SENTINEL"
,
"ONLY_SENTINEL"
],
"arguments"
:
[
{
"name"
:
"master-name"
,
"type"
:
"string"
}
]
}
}
src/commands/sentinel-monitor.json
View file @
fb4e0d40
...
...
@@ -11,6 +11,24 @@
"ADMIN"
,
"SENTINEL"
,
"ONLY_SENTINEL"
],
"arguments"
:
[
{
"name"
:
"name"
,
"type"
:
"string"
},
{
"name"
:
"ip"
,
"type"
:
"string"
},
{
"name"
:
"port"
,
"type"
:
"integer"
},
{
"name"
:
"quorum"
,
"type"
:
"integer"
}
]
}
}
src/commands/sentinel-remove.json
View file @
fb4e0d40
...
...
@@ -11,6 +11,12 @@
"ADMIN"
,
"SENTINEL"
,
"ONLY_SENTINEL"
],
"arguments"
:
[
{
"name"
:
"master-name"
,
"type"
:
"string"
}
]
}
}
src/commands/sentinel-replicas.json
View file @
fb4e0d40
...
...
@@ -11,6 +11,12 @@
"ADMIN"
,
"SENTINEL"
,
"ONLY_SENTINEL"
],
"arguments"
:
[
{
"name"
:
"master-name"
,
"type"
:
"string"
}
]
}
}
src/commands/sentinel-reset.json
View file @
fb4e0d40
...
...
@@ -11,6 +11,12 @@
"ADMIN"
,
"SENTINEL"
,
"ONLY_SENTINEL"
],
"arguments"
:
[
{
"name"
:
"pattern"
,
"type"
:
"pattern"
}
]
}
}
src/commands/sentinel-sentinels.json
View file @
fb4e0d40
...
...
@@ -11,6 +11,12 @@
"ADMIN"
,
"SENTINEL"
,
"ONLY_SENTINEL"
],
"arguments"
:
[
{
"name"
:
"master-name"
,
"type"
:
"string"
}
]
}
}
src/commands/sentinel-set.json
View file @
fb4e0d40
...
...
@@ -11,6 +11,27 @@
"ADMIN"
,
"SENTINEL"
,
"ONLY_SENTINEL"
],
"arguments"
:
[
{
"name"
:
"master-name"
,
"type"
:
"string"
},
{
"name"
:
"option_value"
,
"type"
:
"block"
,
"multiple"
:
true
,
"arguments"
:
[
{
"name"
:
"option"
,
"type"
:
"string"
},
{
"name"
:
"value"
,
"type"
:
"string"
}
]
}
]
}
}
src/commands/sentinel-simulate-failure.json
View file @
fb4e0d40
...
...
@@ -10,6 +10,28 @@
"ADMIN"
,
"SENTINEL"
,
"ONLY_SENTINEL"
],
"arguments"
:
[
{
"name"
:
"mode"
,
"type"
:
"oneof"
,
"optional"
:
true
,
"multiple"
:
true
,
"arguments"
:
[
{
"name"
:
"crash-after-election"
,
"type"
:
"pure-token"
},
{
"name"
:
"crash-after-promotion"
,
"type"
:
"pure-token"
},
{
"name"
:
"help"
,
"type"
:
"pure-token"
}
]
}
]
}
}
src/commands/shutdown.json
View file @
fb4e0d40
...
...
@@ -9,7 +9,7 @@
"history"
:
[
[
"7.0.0"
,
"Added the `NOW`, `FORCE` and `ABORT` modifiers.
Introduced waiting for lagging replicas before exiting.
"
"Added the `NOW`, `FORCE` and `ABORT` modifiers."
]
],
"command_flags"
:
[
...
...
src/commands/slaveof.json
View file @
fb4e0d40
...
...
@@ -24,7 +24,7 @@
},
{
"name"
:
"port"
,
"type"
:
"
string
"
"type"
:
"
integer
"
}
]
}
...
...
src/commands/sort.json
View file @
fb4e0d40
...
...
@@ -96,7 +96,7 @@
"token"
:
"GET"
,
"name"
:
"pattern"
,
"key_spec_index"
:
1
,
"type"
:
"
string
"
,
"type"
:
"
pattern
"
,
"optional"
:
true
,
"multiple"
:
true
,
"multiple_token"
:
true
...
...
src/commands/sort_ro.json
View file @
fb4e0d40
...
...
@@ -82,7 +82,7 @@
"token"
:
"GET"
,
"name"
:
"pattern"
,
"key_spec_index"
:
1
,
"type"
:
"
string
"
,
"type"
:
"
pattern
"
,
"optional"
:
true
,
"multiple"
:
true
,
"multiple_token"
:
true
...
...
src/commands/spublish.json
View file @
fb4e0d40
{
"SPUBLISH"
:
{
"summary"
:
"Post a message to a shard channel"
,
"complexity"
:
"O(N) where N is the number of clients subscribed to the receiving shard channel."
,
"group"
:
"pubsub"
,
"since"
:
"7.0.0"
,
"arity"
:
3
,
"function"
:
"spublishCommand"
,
"command_flags"
:
[
"PUBSUB"
,
"LOADING"
,
"STALE"
,
"FAST"
,
"MAY_REPLICATE"
],
"arguments"
:
[
{
"name"
:
"channel"
,
"type"
:
"string"
},
{
"name"
:
"message"
,
"type"
:
"string"
}
],
"key_specs"
:
[
{
"flags"
:
[
"NOT_KEY"
"SPUBLISH"
:
{
"summary"
:
"Post a message to a shard channel"
,
"complexity"
:
"O(N) where N is the number of clients subscribed to the receiving shard channel."
,
"group"
:
"pubsub"
,
"since"
:
"7.0.0"
,
"arity"
:
3
,
"function"
:
"spublishCommand"
,
"command_flags"
:
[
"PUBSUB"
,
"LOADING"
,
"STALE"
,
"FAST"
,
"MAY_REPLICATE"
],
"begin_search"
:
{
"index"
:
{
"pos"
:
1
}
},
"find_keys"
:
{
"range"
:
{
"lastkey"
:
0
,
"step"
:
1
,
"limit"
:
0
}
}
}
]
}
"arguments"
:
[
{
"name"
:
"channel"
,
"type"
:
"string"
},
{
"name"
:
"message"
,
"type"
:
"string"
}
],
"key_specs"
:
[
{
"flags"
:
[
"NOT_KEY"
],
"begin_search"
:
{
"index"
:
{
"pos"
:
1
}
},
"find_keys"
:
{
"range"
:
{
"lastkey"
:
0
,
"step"
:
1
,
"limit"
:
0
}
}
}
]
}
}
src/commands/ssubscribe.json
View file @
fb4e0d40
{
"SSUBSCRIBE"
:
{
"summary"
:
"Listen for messages published to the given shard channels"
,
"complexity"
:
"O(N) where N is the number of shard channels to subscribe to."
,
"group"
:
"pubsub"
,
"since"
:
"7.0.0"
,
"arity"
:
-2
,
"function"
:
"ssubscribeCommand"
,
"command_flags"
:
[
"PUBSUB"
,
"NOSCRIPT"
,
"LOADING"
,
"STALE"
],
"arguments"
:
[
{
"name"
:
"channel"
,
"type"
:
"string"
,
"multiple"
:
true
}
],
"key_specs"
:
[
{
"flags"
:
[
"NOT_KEY"
"SSUBSCRIBE"
:
{
"summary"
:
"Listen for messages published to the given shard channels"
,
"complexity"
:
"O(N) where N is the number of shard channels to subscribe to."
,
"group"
:
"pubsub"
,
"since"
:
"7.0.0"
,
"arity"
:
-2
,
"function"
:
"ssubscribeCommand"
,
"command_flags"
:
[
"PUBSUB"
,
"NOSCRIPT"
,
"LOADING"
,
"STALE"
],
"begin_search"
:
{
"index"
:
{
"pos"
:
1
}
},
"find_keys"
:
{
"range"
:
{
"lastkey"
:
-1
,
"step"
:
1
,
"limit"
:
0
}
}
}
]
}
"arguments"
:
[
{
"name"
:
"channel"
,
"type"
:
"string"
,
"multiple"
:
true
}
],
"key_specs"
:
[
{
"flags"
:
[
"NOT_KEY"
],
"begin_search"
:
{
"index"
:
{
"pos"
:
1
}
},
"find_keys"
:
{
"range"
:
{
"lastkey"
:
-1
,
"step"
:
1
,
"limit"
:
0
}
}
}
]
}
}
src/commands/subscribe.json
View file @
fb4e0d40
...
...
@@ -6,12 +6,7 @@
"since"
:
"2.0.0"
,
"arity"
:
-2
,
"function"
:
"subscribeCommand"
,
"history"
:
[
[
"6.2.0"
,
"`RESET` can be called to exit subscribed state."
]
],
"history"
:
[],
"command_flags"
:
[
"PUBSUB"
,
"NOSCRIPT"
,
...
...
src/commands/sunsubscribe.json
View file @
fb4e0d40
{
"SUNSUBSCRIBE"
:
{
"summary"
:
"Stop listening for messages posted to the given shard channels"
,
"complexity"
:
"O(N) where N is the number of clients already subscribed to a channel."
,
"group"
:
"pubsub"
,
"since"
:
"7.0.0"
,
"arity"
:
-1
,
"function"
:
"sunsubscribeCommand"
,
"command_flags"
:
[
"PUBSUB"
,
"NOSCRIPT"
,
"LOADING"
,
"STALE"
],
"arguments"
:
[
{
"name"
:
"channel"
,
"type"
:
"string"
,
"optional"
:
true
,
"multiple"
:
true
}
],
"key_specs"
:
[
{
"flags"
:
[
"NOT_KEY"
"SUNSUBSCRIBE"
:
{
"summary"
:
"Stop listening for messages posted to the given shard channels"
,
"complexity"
:
"O(N) where N is the number of clients already subscribed to a channel."
,
"group"
:
"pubsub"
,
"since"
:
"7.0.0"
,
"arity"
:
-1
,
"function"
:
"sunsubscribeCommand"
,
"command_flags"
:
[
"PUBSUB"
,
"NOSCRIPT"
,
"LOADING"
,
"STALE"
],
"begin_search"
:
{
"index"
:
{
"pos"
:
1
}
},
"find_keys"
:
{
"range"
:
{
"lastkey"
:
-1
,
"step"
:
1
,
"limit"
:
0
}
}
}
]
}
"arguments"
:
[
{
"name"
:
"channel"
,
"type"
:
"string"
,
"optional"
:
true
,
"multiple"
:
true
}
],
"key_specs"
:
[
{
"flags"
:
[
"NOT_KEY"
],
"begin_search"
:
{
"index"
:
{
"pos"
:
1
}
},
"find_keys"
:
{
"range"
:
{
"lastkey"
:
-1
,
"step"
:
1
,
"limit"
:
0
}
}
}
]
}
}
src/config.c
View file @
fb4e0d40
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
5
6
7
8
9
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