mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02: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:
parent
959b96e7cc
commit
eef1de33fd
1 changed files with 2 additions and 2 deletions
|
@ -584,7 +584,7 @@ void Connection::OnPreMigrateThread() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Connection::OnPostMigrateThread() {
|
void Connection::OnPostMigrateThread() {
|
||||||
DVLOG(1) << "OnPostMigrateThread " << GetClientId();
|
DVLOG(1) << "[" << id_ << "] OnPostMigrateThread";
|
||||||
|
|
||||||
// Once we migrated, we should rearm OnBreakCb callback.
|
// Once we migrated, we should rearm OnBreakCb callback.
|
||||||
if (breaker_cb_ && socket()->IsOpen()) {
|
if (breaker_cb_ && socket()->IsOpen()) {
|
||||||
|
@ -1145,7 +1145,7 @@ void Connection::OnBreakCb(int32_t mask) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
DCHECK(cc_->reply_builder());
|
DCHECK(cc_->reply_builder()) << "[" << id_ << "] " << phase_ << " " << migration_in_process_;
|
||||||
|
|
||||||
VLOG(1) << "[" << id_ << "] Got event " << mask << " " << phase_ << " "
|
VLOG(1) << "[" << id_ << "] Got event " << mask << " " << phase_ << " "
|
||||||
<< cc_->reply_builder()->IsSendActive() << " " << cc_->reply_builder()->GetError();
|
<< cc_->reply_builder()->IsSendActive() << " " << cc_->reply_builder()->GetError();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue