microsoft / garnet

Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.
https://microsoft.github.io/garnet/
MIT License
9.71k stars 459 forks source link

Immediately process QUIT if in a transaction #485

Closed kevin-montrose closed 1 week ago

kevin-montrose commented 1 week ago

Before we'd respond with an -ERR as quit was not expected in a transaction. Now it is processed immediately.

DRY'd up the quit code slightly too, since we had two copies of it.