mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 09:55:45 +02:00
fix(server): non auto journal write after callback finish (#3016)
fix server: non auto journal write after callback finish Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
parent
de0e5cb0bd
commit
dd80d06be5
1 changed files with 3 additions and 1 deletions
|
@ -1375,8 +1375,10 @@ void Transaction::LogAutoJournalOnShard(EngineShard* shard, RunnableResult resul
|
|||
}
|
||||
|
||||
// If autojournaling was disabled and not re-enabled, skip it
|
||||
if ((cid_->opt_mask() & CO::NO_AUTOJOURNAL) && !re_enabled_auto_journal_)
|
||||
if ((cid_->opt_mask() & CO::NO_AUTOJOURNAL) && !re_enabled_auto_journal_) {
|
||||
TriggerJournalWriteToSink();
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: Handle complex commands like LMPOP correctly once they are implemented.
|
||||
journal::Entry::Payload entry_payload;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue