Skip to content

Commit 6aa0d45

Browse files
Update integer reply conditions in xdelex.md (#2420)
* Update integer reply conditions in xdelex.md Clarified the condition for returning 2 in the integer reply section regarding entry deletion and references. * Apply suggestions from code review --------- Co-authored-by: David Dougherty <david.dougherty@redis.com>
1 parent 8bc7203 commit 6aa0d45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/commands/xdelex.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ One of the following:
140140
* [Array reply](../../develop/reference/protocol-spec#arrays): For each ID:
141141
* [Integer reply](../../develop/reference/protocol-spec#integers): -1 if no such ID exists in the provided stream key.
142142
* [Integer reply](../../develop/reference/protocol-spec#integers): 1 if the entry was deleted from the stream.
143-
* [Integer reply](../../develop/reference/protocol-spec#integers): 2 if the entry was not deleted, but there are still dangling references (ACKED option).
143+
* [Integer reply](../../develop/reference/protocol-spec#integers): 2 if the entry was not deleted and there are still existing references (`ACKED` option); also, if there are no consumer groups.
144144

145145
-tab-sep-
146146

@@ -150,6 +150,6 @@ One of the following:
150150
* [Array reply](../../develop/reference/protocol-spec#arrays): For each ID:
151151
* [Integer reply](../../develop/reference/protocol-spec#integers): -1 if no such ID exists in the provided stream key.
152152
* [Integer reply](../../develop/reference/protocol-spec#integers): 1 if the entry was deleted from the stream.
153-
* [Integer reply](../../develop/reference/protocol-spec#integers): 2 if the entry was not deleted, but there are still dangling references (ACKED option).
153+
* [Integer reply](../../develop/reference/protocol-spec#integers): 2 if the entry was not deleted and there are still existing references (`ACKED` option); also, if there are no consumer groups.
154154

155155
{{< /multitabs >}}

0 commit comments

Comments
 (0)