Open emptizen opened 2 weeks ago
Additional, I found another situation that stream read will return null.
By design, Redis doesn't prevent the deletion of entries that are present in the stream's PELs. When this happens, the PELs retain the deleted entries' IDs, but the actual entry payload is no longer available. Therefore, when reading such PEL entries, Redis will return a null value in place of their respective data. https://redis.io/docs/latest/commands/xreadgroup/
Description
Here is the exception:
The function
transformTuplesReply
of generic-transform.js didn't handle the null raw reply from the stream api.Node.js Version
v20.16.0
Redis Server Version
6.2.6
Node Redis Version
redis@4.7.0
Platform
MacOS, Linux
Logs