dragonflydb / dragonfly

A modern replacement for Redis and Memcached
https://www.dragonflydb.io/
Other
25.96k stars 954 forks source link

fix: skip Send() in SinkReplyBuilder::Flush() when vec is empty #4114

Closed kostasrim closed 1 week ago

kostasrim commented 1 week ago

3953 removed SendMGetResponse and we ended up calling Send() when sink_ is nullptr which had no effect because the vec was empty.

kostasrim commented 1 week ago

Sanitizers run https://github.com/dragonflydb/dragonfly/actions/runs/11778734685