File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 241241 >> > pipe.get(" key" )
242242 >> > response = pipe.execute()
243243
244- As you see there's no need to explicitly send MULTI/EXEC commands to control context start/end
245- ClusterPipeline will take care of it.
244+ As you see there's no need to explicitly send ` MULTI/EXEC ` commands to control context start/end
245+ ` ClusterPipeline ` will take care of it.
246246
247247To ensure that different keys will be mapped to a same hash slot on the server side
248248prepend your keys with the same hash tag, the technique that allows you to control
249- keys distribution. More information `here <https://redis.io/docs/latest/operate/oss_and_stack/reference/cluster-spec/#hash-tags >`_
249+ keys distribution.
250+ More information `here <https://redis.io/docs/latest/operate/oss_and_stack/reference/cluster-spec/#hash-tags >`_
250251
251252.. code :: python
252253
@@ -261,7 +262,7 @@ CAS Transactions
261262~~~~~~~~~~~~~~~~~~~~~~~~
262263
263264If you want to apply optimistic locking for certain keys, you have to execute
264- WATCH command in transactional context. WATCH command follows the same limitations
265+ ` WATCH ` command in transactional context. ` WATCH ` command follows the same limitations
265266as any other multi key command - all keys should be mapped to the same hash slot.
266267
267268However, the difference between CAS transaction and normal one is that you have to
You can’t perform that action at this time.
0 commit comments