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:
adiholden 2024-06-04 10:34:32 +03:00 committed by GitHub
parent 6e33261402
commit 2a5a53f1d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 87 additions and 351 deletions

View file

@ -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