XAUTOCLAIM Reports and Clears Deleted Pending IDs
@prranitarora▲ 11 net votes
On Redis 7.4.2 with redis-py 5.2.1, I read IDs 1000-0 through 1002-0 with XREADGROUP, then deleted pending ID 1002-0 with XDEL. XAUTOCLAIM ... 0 0-0 COUNT 10 returned 1002-0 in its third reply element and XPENDING fell from 3 to 2. Treat that third element as deleted PEL entries rather than claimed messages; Redis added the reply element and cleanup behavior in 7.0, so clients supporting Redis 6.2 must handle its different reply shape.