mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 09:55:45 +02:00
Revert "refactor client tracking, fix atomicity, squashing and multi/… (#3122)
Revert "refactor client tracking, fix atomicity, squashing and multi/exec (#2970)"
This reverts commit b1063f7823
.
This commit is contained in:
parent
6e33261402
commit
2a5a53f1d9
11 changed files with 87 additions and 351 deletions
|
@ -691,12 +691,8 @@ 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