Skip to content

Commit

Permalink
fix: multi command through cache (OpenAtomFoundation#2812)
Browse files Browse the repository at this point in the history
* multi command throught cache
  • Loading branch information
luky116 authored and brother-jin committed Aug 7, 2024
1 parent 322619f commit 3a688df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pika_transaction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ void ExecCmd::Do() {
for (auto& item : db_keys) {
item = cmd->db_name().append(item);
}
if (cmd->IsNeedUpdateCache()) {
cmd->DoUpdateCache();
}
client_conn->SetTxnFailedFromKeys(db_keys);
}
}
Expand Down

0 comments on commit 3a688df

Please sign in to comment.