chore: recommit client tracking (#3136)

* bring back client tracking
* disable all client commands in squashing
* allow all client commands in multi/exec block
This commit is contained in:
Kostas Kyrimis 2024-06-07 15:34:44 +03:00 committed by GitHub
parent 39dd73fc71
commit 0edcbc80ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 364 additions and 84 deletions

View file

@ -663,8 +663,12 @@ void Transaction::RunCallback(EngineShard* shard) {
}
// Log to journal only once the command finished running
if ((coordinator_state_ & COORD_CONCLUDING) || (multi_ && multi_->concluding))
if ((coordinator_state_ & COORD_CONCLUDING) || (multi_ && multi_->concluding)) {
LogAutoJournalOnShard(shard, result);
if (tracking_cb_) {
tracking_cb_(this);
}
}
}
// TODO: For multi-transactions we should be able to deduce mode() at run-time based