Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chakaz committed Nov 14, 2024
1 parent e473fb6 commit 93f2c27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/facade/dragonfly_connection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1429,6 +1429,7 @@ std::string Connection::DebugInfo() const {
absl::StrAppend(&info, "address=", uint64_t(this), ", ");
absl::StrAppend(&info, "phase=", phase_, ", ");
if (cc_) {
// In some rare cases cc_ can be null, see https://github.com/dragonflydb/dragonfly/pull/3873
absl::StrAppend(&info, "dispatch(s/a)=", cc_->sync_dispatch, " ", cc_->async_dispatch, ", ");
absl::StrAppend(&info, "closing=", cc_->conn_closing, ", ");
}
Expand Down

0 comments on commit 93f2c27

Please sign in to comment.