Skip to content

Commit 33d64a1

Browse files
authored
Update Using.md (#638)
1 parent b130205 commit 33d64a1

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

docs/Using.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ Most Redis commands that manipulate the dataset are supported, with the
4242
following general exceptions:
4343

4444
* Multiple databases (i.e. `SELECT`) are not supported.
45-
* Blocking commands (e.g. `BLPOP`) are not supported.
46-
* Publish/Subscribe and Streams are not yet supported.
45+
* Streams are not yet supported.
4746
* WATCH and UNWATCH are not currently supported.
4847

4948
The following table summarizes the supported commands along with any caveats:
@@ -55,18 +54,18 @@ The following table summarizes the supported commands along with any caveats:
5554
| BITFIELD | Yes | |
5655
| BITOP | Yes | |
5756
| BITOPS | Yes | |
58-
| BLPOP | No | See [2] |
59-
| BRPOP | No | See [2] |
60-
| BRPOPLPUSH | No | See [2] |
61-
| BZPOPMAX | No | See [2] |
62-
| BZPOPMIN | No | See [2] |
57+
| BLPOP | Yes | |
58+
| BRPOP | Yes | |
59+
| BRPOPLPUSH | Yes | |
60+
| BZPOPMAX | Yes | |
61+
| BZPOPMIN | Yes | |
6362
| DECR | Yes | |
6463
| DECRBY | Yes | |
6564
| DEL | Yes | |
66-
| DISCARD | Yes | See [3] |
67-
| EVAL | Yes | See [4] |
68-
| EVALSHA | Yes | See [4] |
69-
| EXEC | Yes | See [3] |
65+
| DISCARD | Yes | See [2] |
66+
| EVAL | Yes | See [3] |
67+
| EVALSHA | Yes | See [3] |
68+
| EXEC | Yes | See [2] |
7069
| EXISTS | Yes | |
7170
| EXPIRE | Yes | See [1] |
7271
| EXPIREAT | Yes | See [1] |
@@ -112,7 +111,7 @@ The following table summarizes the supported commands along with any caveats:
112111
| MGET | Yes | |
113112
| MSET | Yes | |
114113
| MSETNX | Yes | |
115-
| MULTI | Yes | See [3] |
114+
| MULTI | Yes | See [2] |
116115
| PERSIST | Yes | See [1] |
117116
| PEXPIRE | Yes | See [1] |
118117
| PEXPIREAT | Yes | See [1] |
@@ -131,7 +130,7 @@ The following table summarizes the supported commands along with any caveats:
131130
| SADD | Yes | |
132131
| SCAN | Yes | |
133132
| SCARD | Yes | |
134-
| SCRIPT | Yes | See [4] |
133+
| SCRIPT | Yes | See [3] |
135134
| SDIFF | Yes | |
136135
| SDIFFSTORE | Yes | |
137136
| SET | Yes | |
@@ -185,11 +184,9 @@ Notes:
185184

186185
1. Key expiration is performed as a local operation on each cluster node. The reason for this is that expiration depends on a local clock as well as on active expiry logic; thus, volatile keys may violate consistency.
187186

188-
2. Blocking operations are not supported.
187+
2. `WATCH` and `UNWATCH` are not currently supported.
189188

190-
3. `WATCH` and `UNWATCH` are not currently supported.
191-
192-
4. Lua scripts are supported but should be written as pure functions (i.e., as required when script replication rather than command replication is in use). This is because a RedisRaft cluster replicates the Lua script itself to each node, not the raw Redis commands that result from running the script.
189+
3. Lua scripts are supported but should be written as pure functions (i.e., as required when script replication rather than command replication is in use). This is because a RedisRaft cluster replicates the Lua script itself to each node, not the raw Redis commands that result from running the script.
193190

194191
For example, avoid using non-deterministic commands such as `RANDOMKEY`, `SRANDMEMBER`, and `TIME`, as these will produce different values when executed on follower nodes.
195192

0 commit comments

Comments
 (0)