Unverified Commit fb4e0d40 authored by Oran Agra's avatar Oran Agra Committed by GitHub
Browse files

Merge pull request #10532 from oranagra/7.0-rc3

Release 7.0 rc3
parents d2b5a579 8b242ef9
...@@ -11,6 +11,12 @@ ...@@ -11,6 +11,12 @@
"ADMIN", "ADMIN",
"SENTINEL", "SENTINEL",
"ONLY_SENTINEL" "ONLY_SENTINEL"
],
"arguments": [
{
"name": "master-name",
"type": "string"
}
] ]
} }
} }
...@@ -4,13 +4,20 @@ ...@@ -4,13 +4,20 @@
"complexity": "O(N) where N is the number of instances", "complexity": "O(N) where N is the number of instances",
"group": "sentinel", "group": "sentinel",
"since": "3.2.0", "since": "3.2.0",
"arity": 3, "arity": -3,
"container": "SENTINEL", "container": "SENTINEL",
"function": "sentinelCommand", "function": "sentinelCommand",
"command_flags": [ "command_flags": [
"ADMIN", "ADMIN",
"SENTINEL", "SENTINEL",
"ONLY_SENTINEL" "ONLY_SENTINEL"
],
"arguments": [
{
"name": "nodename",
"type": "string",
"multiple": true
}
] ]
} }
} }
...@@ -11,6 +11,24 @@ ...@@ -11,6 +11,24 @@
"ADMIN", "ADMIN",
"SENTINEL", "SENTINEL",
"ONLY_SENTINEL" "ONLY_SENTINEL"
],
"arguments": [
{
"name": "ip",
"type": "string"
},
{
"name": "port",
"type": "integer"
},
{
"name": "current-epoch",
"type": "integer"
},
{
"name": "runid",
"type": "string"
}
] ]
} }
} }
...@@ -11,6 +11,12 @@ ...@@ -11,6 +11,12 @@
"ADMIN", "ADMIN",
"SENTINEL", "SENTINEL",
"ONLY_SENTINEL" "ONLY_SENTINEL"
],
"arguments": [
{
"name": "master-name",
"type": "string"
}
] ]
} }
} }
...@@ -11,6 +11,24 @@ ...@@ -11,6 +11,24 @@
"ADMIN", "ADMIN",
"SENTINEL", "SENTINEL",
"ONLY_SENTINEL" "ONLY_SENTINEL"
],
"arguments": [
{
"name": "name",
"type": "string"
},
{
"name": "ip",
"type": "string"
},
{
"name": "port",
"type": "integer"
},
{
"name": "quorum",
"type": "integer"
}
] ]
} }
} }
...@@ -11,6 +11,12 @@ ...@@ -11,6 +11,12 @@
"ADMIN", "ADMIN",
"SENTINEL", "SENTINEL",
"ONLY_SENTINEL" "ONLY_SENTINEL"
],
"arguments": [
{
"name": "master-name",
"type": "string"
}
] ]
} }
} }
...@@ -11,6 +11,12 @@ ...@@ -11,6 +11,12 @@
"ADMIN", "ADMIN",
"SENTINEL", "SENTINEL",
"ONLY_SENTINEL" "ONLY_SENTINEL"
],
"arguments": [
{
"name": "master-name",
"type": "string"
}
] ]
} }
} }
...@@ -11,6 +11,12 @@ ...@@ -11,6 +11,12 @@
"ADMIN", "ADMIN",
"SENTINEL", "SENTINEL",
"ONLY_SENTINEL" "ONLY_SENTINEL"
],
"arguments": [
{
"name": "pattern",
"type": "pattern"
}
] ]
} }
} }
...@@ -11,6 +11,12 @@ ...@@ -11,6 +11,12 @@
"ADMIN", "ADMIN",
"SENTINEL", "SENTINEL",
"ONLY_SENTINEL" "ONLY_SENTINEL"
],
"arguments": [
{
"name": "master-name",
"type": "string"
}
] ]
} }
} }
...@@ -11,6 +11,27 @@ ...@@ -11,6 +11,27 @@
"ADMIN", "ADMIN",
"SENTINEL", "SENTINEL",
"ONLY_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"
}
]
}
] ]
} }
} }
...@@ -10,6 +10,28 @@ ...@@ -10,6 +10,28 @@
"ADMIN", "ADMIN",
"SENTINEL", "SENTINEL",
"ONLY_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"
}
]
}
] ]
} }
} }
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"history": [ "history": [
[ [
"7.0.0", "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": [ "command_flags": [
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
}, },
{ {
"name": "port", "name": "port",
"type": "string" "type": "integer"
} }
] ]
} }
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
"token": "GET", "token": "GET",
"name": "pattern", "name": "pattern",
"key_spec_index": 1, "key_spec_index": 1,
"type": "string", "type": "pattern",
"optional": true, "optional": true,
"multiple": true, "multiple": true,
"multiple_token": true "multiple_token": true
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
"token": "GET", "token": "GET",
"name": "pattern", "name": "pattern",
"key_spec_index": 1, "key_spec_index": 1,
"type": "string", "type": "pattern",
"optional": true, "optional": true,
"multiple": true, "multiple": true,
"multiple_token": true "multiple_token": true
......
{ {
"SPUBLISH": { "SPUBLISH": {
"summary": "Post a message to a shard channel", "summary": "Post a message to a shard channel",
"complexity": "O(N) where N is the number of clients subscribed to the receiving shard channel.", "complexity": "O(N) where N is the number of clients subscribed to the receiving shard channel.",
"group": "pubsub", "group": "pubsub",
"since": "7.0.0", "since": "7.0.0",
"arity": 3, "arity": 3,
"function": "spublishCommand", "function": "spublishCommand",
"command_flags": [ "command_flags": [
"PUBSUB", "PUBSUB",
"LOADING", "LOADING",
"STALE", "STALE",
"FAST", "FAST",
"MAY_REPLICATE" "MAY_REPLICATE"
],
"arguments": [
{
"name": "channel",
"type": "string"
},
{
"name": "message",
"type": "string"
}
],
"key_specs": [
{
"flags": [
"NOT_KEY"
], ],
"begin_search": { "arguments": [
"index": { {
"pos": 1 "name": "channel",
} "type": "string"
}, },
"find_keys": { {
"range": { "name": "message",
"lastkey": 0, "type": "string"
"step": 1, }
"limit": 0 ],
} "key_specs": [
} {
} "flags": [
] "NOT_KEY"
} ],
"begin_search": {
"index": {
"pos": 1
}
},
"find_keys": {
"range": {
"lastkey": 0,
"step": 1,
"limit": 0
}
}
}
]
}
} }
{ {
"SSUBSCRIBE": { "SSUBSCRIBE": {
"summary": "Listen for messages published to the given shard channels", "summary": "Listen for messages published to the given shard channels",
"complexity": "O(N) where N is the number of shard channels to subscribe to.", "complexity": "O(N) where N is the number of shard channels to subscribe to.",
"group": "pubsub", "group": "pubsub",
"since": "7.0.0", "since": "7.0.0",
"arity": -2, "arity": -2,
"function": "ssubscribeCommand", "function": "ssubscribeCommand",
"command_flags": [ "command_flags": [
"PUBSUB", "PUBSUB",
"NOSCRIPT", "NOSCRIPT",
"LOADING", "LOADING",
"STALE" "STALE"
],
"arguments": [
{
"name": "channel",
"type": "string",
"multiple": true
}
],
"key_specs": [
{
"flags": [
"NOT_KEY"
], ],
"begin_search": { "arguments": [
"index": { {
"pos": 1 "name": "channel",
} "type": "string",
}, "multiple": true
"find_keys": { }
"range": { ],
"lastkey": -1, "key_specs": [
"step": 1, {
"limit": 0 "flags": [
} "NOT_KEY"
} ],
} "begin_search": {
] "index": {
} "pos": 1
}
},
"find_keys": {
"range": {
"lastkey": -1,
"step": 1,
"limit": 0
}
}
}
]
}
} }
...@@ -6,12 +6,7 @@ ...@@ -6,12 +6,7 @@
"since": "2.0.0", "since": "2.0.0",
"arity": -2, "arity": -2,
"function": "subscribeCommand", "function": "subscribeCommand",
"history": [ "history": [],
[
"6.2.0",
"`RESET` can be called to exit subscribed state."
]
],
"command_flags": [ "command_flags": [
"PUBSUB", "PUBSUB",
"NOSCRIPT", "NOSCRIPT",
......
{ {
"SUNSUBSCRIBE": { "SUNSUBSCRIBE": {
"summary": "Stop listening for messages posted to the given shard channels", "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.", "complexity": "O(N) where N is the number of clients already subscribed to a channel.",
"group": "pubsub", "group": "pubsub",
"since": "7.0.0", "since": "7.0.0",
"arity": -1, "arity": -1,
"function": "sunsubscribeCommand", "function": "sunsubscribeCommand",
"command_flags": [ "command_flags": [
"PUBSUB", "PUBSUB",
"NOSCRIPT", "NOSCRIPT",
"LOADING", "LOADING",
"STALE" "STALE"
],
"arguments": [
{
"name": "channel",
"type": "string",
"optional": true,
"multiple": true
}
],
"key_specs": [
{
"flags": [
"NOT_KEY"
], ],
"begin_search": { "arguments": [
"index": { {
"pos": 1 "name": "channel",
} "type": "string",
}, "optional": true,
"find_keys": { "multiple": true
"range": { }
"lastkey": -1, ],
"step": 1, "key_specs": [
"limit": 0 {
} "flags": [
} "NOT_KEY"
} ],
] "begin_search": {
} "index": {
"pos": 1
}
},
"find_keys": {
"range": {
"lastkey": -1,
"step": 1,
"limit": 0
}
}
}
]
}
} }
This diff is collapsed.
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