PragmaTwice commented on code in PR #1863:
URL: https://github.com/apache/kvrocks/pull/1863#discussion_r1382578943


##########
src/server/redis_connection.h:
##########
@@ -111,6 +111,7 @@ class Connection : public EvbufCallbackBase<Connection> {
   Worker *Owner() { return owner_; }
   void SetOwner(Worker *new_owner) { owner_ = new_owner; };
   int GetFD() { return bufferevent_getfd(bev_); }
+  bool HasRunningCommand() const { return saved_current_command_ != nullptr; }

Review Comment:
   Oh, I mean, only blocking commands will be stored in `saved_current_command_ 
`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to