diff options
author | Nick Gaya <nicholasgaya+github@gmail.com> | 2020-03-05 01:33:55 -0800 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2020-03-10 17:10:04 -0700 |
commit | 07fec7e18996b6b3b4f30ec9636b88c9b287ece5 (patch) | |
tree | 8fea4af74c1aba7cd6260cb4eb62ed35948e9e64 /CHANGES | |
parent | 81d76657385fc81548e5eaca4781c0e6b214ea16 (diff) | |
download | redis-py-07fec7e18996b6b3b4f30ec9636b88c9b287ece5.tar.gz |
Don't send DISCARD after ExecAbortError in pipeline
The `EXECABORT` error type was added in Redis 2.6.5 and is returned from an
`EXEC` command to indicate that the transaction was aborted due to an invalid
command. It is not necessary to call `DISCARD` after this error, and doing so
causes a "DISCARD without MULTI" error.
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -16,6 +16,8 @@ during command packing. Thanks @Cody-G. #1265, #1285 * HSET command now can accept multiple pairs. HMSET has been marked as deprecated now. Thanks to @laixintao #1271 + * Don't manually DISCARD when encountering an ExecAbortError. + Thanks @nickgaya, #1300/#1301 * 3.4.1 * Move the username argument in the Redis and Connection classes to the end of the argument list. This helps those poor souls that specify all |