summaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/restore-asking.json
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:52:54 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:52:54 +0100
commitdcacc00e3750300617ba6e16eb346713f91a783a (patch)
tree38e2d4fb5ed9d119711d4295c6eda4b014af73fd /examples/redis-unstable/src/commands/restore-asking.json
parent58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff)
downloadcrep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz
Remove testing data
Diffstat (limited to 'examples/redis-unstable/src/commands/restore-asking.json')
-rw-r--r--examples/redis-unstable/src/commands/restore-asking.json102
1 files changed, 0 insertions, 102 deletions
diff --git a/examples/redis-unstable/src/commands/restore-asking.json b/examples/redis-unstable/src/commands/restore-asking.json
deleted file mode 100644
index 2694a87..0000000
--- a/examples/redis-unstable/src/commands/restore-asking.json
+++ /dev/null
@@ -1,102 +0,0 @@
-{
- "RESTORE-ASKING": {
- "summary": "An internal command for migrating keys in a cluster.",
- "complexity": "O(1) to create the new key and additional O(N*M) to reconstruct the serialized value, where N is the number of Redis objects composing the value and M their average size. For small string values the time complexity is thus O(1)+O(1*M) where M is small, so simply O(1). However for sorted set values the complexity is O(N*M*log(N)) because inserting values into sorted sets is O(log(N)).",
- "group": "server",
- "since": "3.0.0",
- "arity": -4,
- "function": "restoreCommand",
- "history": [
- [
- "3.0.0",
- "Added the `REPLACE` modifier."
- ],
- [
- "5.0.0",
- "Added the `ABSTTL` modifier."
- ],
- [
- "5.0.0",
- "Added the `IDLETIME` and `FREQ` options."
- ]
- ],
- "doc_flags": [
- "SYSCMD"
- ],
- "command_flags": [
- "WRITE",
- "DENYOOM",
- "ASKING"
- ],
- "acl_categories": [
- "KEYSPACE",
- "DANGEROUS"
- ],
- "key_specs": [
- {
- "flags": [
- "OW",
- "UPDATE"
- ],
- "begin_search": {
- "index": {
- "pos": 1
- }
- },
- "find_keys": {
- "range": {
- "lastkey": 0,
- "step": 1,
- "limit": 0
- }
- }
- }
- ],
- "arguments": [
- {
- "name": "key",
- "type": "key",
- "key_spec_index": 0
- },
- {
- "name": "ttl",
- "type": "integer"
- },
- {
- "name": "serialized-value",
- "type": "string"
- },
- {
- "name": "replace",
- "token": "REPLACE",
- "type": "pure-token",
- "optional": true,
- "since": "3.0.0"
- },
- {
- "name": "absttl",
- "token": "ABSTTL",
- "type": "pure-token",
- "optional": true,
- "since": "5.0.0"
- },
- {
- "token": "IDLETIME",
- "name": "seconds",
- "type": "integer",
- "optional": true,
- "since": "5.0.0"
- },
- {
- "token": "FREQ",
- "name": "frequency",
- "type": "integer",
- "optional": true,
- "since": "5.0.0"
- }
- ],
- "reply_schema": {
- "const": "OK"
- }
- }
-}