Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/facade/dragonfly_connection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,7 @@ std::pair<std::string, std::string> Connection::GetClientInfoBeforeAfterTid() co
string_view phase_name = PHASE_NAMES[phase_];

if (cc_) {
DCHECK(cc_->reply_builder());
string cc_info = service_->GetContextInfo(cc_.get()).Format();
if (cc_->reply_builder()->IsSendActive())
phase_name = "send";
Expand Down Expand Up @@ -1104,6 +1105,8 @@ void Connection::OnBreakCb(int32_t mask) {
return;
}

DCHECK(cc_->reply_builder());

VLOG(1) << "[" << id_ << "] Got event " << mask << " " << phase_ << " "
<< cc_->reply_builder()->IsSendActive() << " " << cc_->reply_builder()->GetError();

Expand Down
2 changes: 1 addition & 1 deletion src/server/rdb_save.cc
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ void SerializerBase::DumpObject(const CompactObj& obj, io::StringSink* out) {
// 1. Save the value itself - without the key
// 2. Save footer: this include the RDB version and the CRC value for the message
auto type = RdbObjectType(obj);
DVLOG(1) << "We are going to dump object type: " << type;
DVLOG(1) << "We are going to dump object type: " << int(type);
std::error_code ec = serializer.WriteOpcode(type);
CHECK(!ec);
ec = serializer.SaveValue(obj);
Expand Down