SIGN IN SIGN UP

Return 0 from SortedSetRemove(Async) for an empty member array (#3192)

ZREM needs one member or more. An empty array built a one-argument ZREM.
The server refused it with "wrong number of arguments". In a transaction
this became EXECABORT.

An empty array now returns 0 and does not go to the server. A null array
still throws an ArgumentNullException. The exception now names the
"members" parameter. Before, it named the "values" parameter of the
Message.Create overload. This matches SetRemove(Async).
A
august committed
8b31020bb124239919c77fb614606a7d7dff0a05
Parent: efd9501
Committed by GitHub <noreply@github.com> on 8/25/2026, 8:37:57 AM