redict/tests/unit/type
sundb 32e7b46a17
Fix quicklist node not being recompressed correctly after inserting a new node before or after it (#10120)
### Describe
Fix crash found by CI, Introduced by #9849.
When we do any operation on the quicklist, we should make sure that all nodes
of the quicklist should not be in the recompressed state.

### Issues
This PR fixes two issues with incorrect recompression.
1. The current quicklist node is full and the previous node isn't full,
    the current node is not recompressed correctly after inserting elements into the previous node.
2. The current quicklist node is full and the next node isn't full,
    the current node is not recompressed correctly after inserting elements into the next node.

### Test
Add two tests to cover incorrect compression issues.

### Other
Fix unittest test failure caused by assertion introduced by #9849.
2022-01-16 08:54:40 +02:00
..
hash.tcl Move doc metadata from COMMAND to COMMAND DOCS (#10056) 2022-01-11 17:16:16 +02:00
incr.tcl decrby LLONG_MIN caused nagation overflow. (#9577) 2021-10-03 09:38:05 +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 list test split into smaller parts 2011-07-11 11:30:46 +02:00
list.tcl LPOP/RPOP with count against non existing list return null array (#10095) 2022-01-11 14:26:13 +02:00
set.tcl Fix possible int overflow when hashing an sds. (#9916) 2021-12-13 21:16:25 +02:00
stream-cgroups.tcl Add tests for blocking XREAD[GROUP] when the stream ran dry (#10035) 2022-01-04 21:48:49 +02:00
stream.tcl lpGetInteger returns int64_t, avoid overflow (#10068) 2022-01-07 15:31:05 +02:00
string.tcl Add external test that runs without debug command (#9964) 2021-12-19 17:41:51 +02:00
zset.tcl Move doc metadata from COMMAND to COMMAND DOCS (#10056) 2022-01-11 17:16:16 +02:00