redict/tests/unit/type
Binbin e7129e43e0
Fix XREADGROUP BLOCK stuck in endless loop (#12301)
For the XREADGROUP BLOCK > scenario, there is an endless loop.
Due to #11012, it keep going, reprocess command -> blockForKeys -> reprocess command

The right fix is to avoid an endless loop in handleClientsBlockedOnKey and handleClientsBlockedOnKeys,
looks like there was some attempt in handleClientsBlockedOnKeys but maybe not sufficiently good,
and it looks like using a similar trick in handleClientsBlockedOnKey is complicated.
i.e. stashing the list on the stack and iterating on it after creating a fresh one for future use,
is problematic since the code keeps accessing the global list.

Co-authored-by: Oran Agra <oran@redislabs.com>
2023-06-13 13:27:05 +03:00
..
hash.tcl Adding test case for hvals, hkeys, hexists against wrong type (#12198) 2023-05-24 09:34:13 +03:00
incr.tcl add test cases for decr decrby on missing key (#12070) 2023-04-19 09:55:56 +03:00
list-2.tcl Minor improvements for list-2 test (#8156) 2020-12-08 16:26:38 +02:00
list-3.tcl Fix quicklist node not being recompressed correctly after inserting a new node before or after it (#10120) 2022-01-16 08:54:40 +02:00
list-common.tcl Add listpack encoding for list (#11303) 2022-11-16 20:29:46 +02:00
list.tcl Fix bug: LPOS RANK LONG_ MIN causes overflow (#12167) 2023-05-14 09:04:33 +03:00
set.tcl Fix for set max entries edge case in setTypeCreate / setTypeMaybeConvert (#12183) 2023-05-16 11:32:21 -07:00
stream-cgroups.tcl Fix XREADGROUP BLOCK stuck in endless loop (#12301) 2023-06-13 13:27:05 +03:00
stream.tcl Fix XSETID with max_deleted_entry_id issue (#11444) 2022-11-02 16:16:16 +02:00
string.tcl Optimize MSETNX to avoid double lookup (#11944) 2023-05-28 10:58:29 +03:00
zset.tcl Performance improvement to ZADD and ZRANGESTORE, convert to skiplist and expand dict in advance (#12185) 2023-05-18 15:24:46 +03:00