You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #31396 [Messenger] Fix rejecting of pending messages (alexander-schranz)
This PR was squashed before being merged into the 4.3-dev branch (closes#31396).
Discussion
----------
[Messenger] Fix rejecting of pending messages
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #...
| License | MIT
| Doc PR | -
As discussed in #31387 (comment). It seems pending messages are not removed by calling xdel so we need to call xack first to remove them from the pending state and then call xdel to remove it from the complete stream.
It seems to be the correct way as mentioned in: https://github.com/antirez/redis/issues/5754
Test should be the same as added in: https://github.com/symfony/symfony/pull/31387/files#diff-46c1e03dafbcebc46b5cace7d05de20c
Commits
-------
072e466 [Messenger] Fix rejecting of pending messages
0 commit comments