chore: add tx queue head debug info in AnalyzeTxQueue (#4026)

* add tx queue head debug info in AnalyzeTxQueue

Signed-off-by: kostas <kostas@dragonflydb.io>
This commit is contained in:
Kostas Kyrimis 2024-11-04 09:41:18 +02:00 committed by GitHub
parent e4b468d953
commit e103254cf9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 1 deletions

View file

@ -61,6 +61,7 @@ void AnalyzeTxQueue(const EngineShard* shard, const TxQueue* txq) {
absl::StrAppend(&msg, " continuation_tx: ", cont_tx->DebugId(), " ",
cont_tx->DEBUG_IsArmedInShard(shard->shard_id()) ? " armed" : "");
}
absl::StrAppend(&msg, "\nTxQueue head debug info ", info.head.debug_id_info);
LOG(WARNING) << msg;
}