Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v24.2.x] c/tm_stm: fix log format strings #23175

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/v/cluster/tm_stm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,14 @@ tm_stm::get_tx(kafka::transactional_id tx_id) {
vlog(
txlog.info,
"[tx_id={}] error syncing state machine for getting transaction - {}",
tx_id,
r.error());
co_return r.error();
}

auto tx_opt = find_tx(tx_id);
if (!tx_opt) {
vlog(txlog.trace, "[tx_id= {}] transaction state not found", tx_id);
vlog(txlog.trace, "[tx_id={}] transaction state not found", tx_id);
co_return tm_stm::op_status::not_found;
}
co_return tx_opt.value();
Expand Down Expand Up @@ -393,7 +394,8 @@ tm_stm::reset_transaction_state(tx_metadata& tx) {
if (!tx.is_finished()) {
vlog(
_ctx_log.warn,
"[tx_id={}] unable to reset transaction state that is not finished");
"[tx_id={}] unable to reset transaction state that is not finished",
tx.id);
return tm_stm::op_status::conflict;
}

Expand Down
Loading