You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When executing a transaction with watched keys, Pipeline.execute() does not clear the watching state of the pipeline object, so a subsequent call to Pipeline.reset() will send an extra UNWATCH command to the server.
Example:
from redis import Redis
redis = Redis(...)
with redis.pipeline() as pipe:
pipe.watch("key")
pipe.get("key")
pipe.multi()
pipe.set("key", "value")
pipe.execute()
Version:
Redis-py 3.4.1
Redis 5.0.7
Platform:
Python 3.8.2
Mac OS 10.13.6
Description:
When executing a transaction with watched keys,
Pipeline.execute()
does not clear the watching state of the pipeline object, so a subsequent call toPipeline.reset()
will send an extraUNWATCH
command to the server.Example:
Redis monitor output:
The text was updated successfully, but these errors were encountered: