mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 09:55:45 +02:00
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:
parent
39dd73fc71
commit
0edcbc80ef
12 changed files with 364 additions and 84 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue