Skip to content

Commit

Permalink
fix: multi command through cache (#2812)
Browse files Browse the repository at this point in the history
* multi command throught cache
  • Loading branch information
luky116 authored Aug 7, 2024
1 parent a2acd88 commit 4588e26
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 4588e26

Please sign in to comment.