1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00

chore: improve debug logs in dragonfly_connection (#3624)

Adresses #3623

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
Co-authored-by: adiholden <adi@dragonflydb.io>
This commit is contained in:
Roman Gershman 2024-09-02 18:13:16 +03:00 committed by GitHub
parent 959b96e7cc
commit eef1de33fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -584,7 +584,7 @@ void Connection::OnPreMigrateThread() {
}
void Connection::OnPostMigrateThread() {
DVLOG(1) << "OnPostMigrateThread " << GetClientId();
DVLOG(1) << "[" << id_ << "] OnPostMigrateThread";
// Once we migrated, we should rearm OnBreakCb callback.
if (breaker_cb_ && socket()->IsOpen()) {
@ -1145,7 +1145,7 @@ void Connection::OnBreakCb(int32_t mask) {
return;
}
DCHECK(cc_->reply_builder());
DCHECK(cc_->reply_builder()) << "[" << id_ << "] " << phase_ << " " << migration_in_process_;
VLOG(1) << "[" << id_ << "] Got event " << mask << " " << phase_ << " "
<< cc_->reply_builder()->IsSendActive() << " " << cc_->reply_builder()->GetError();