Skip to content

Commit

Permalink
more info on error log at session state check in the bg_commit worker…
Browse files Browse the repository at this point in the history
… loop
  • Loading branch information
ban-nobuhiro committed Jan 15, 2024
1 parent 39a394f commit 05e3aff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/concurrency_control/bg_work/bg_commit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ void bg_commit::worker() {
!ti->get_requested_commit()) {
// not long or not requested commit.
LOG(ERROR) << log_location_prefix << "unexpected error. "
<< ti->get_tx_type() << ", "
<< ti->get_requested_commit();
<< ti->get_tx_type() << ", " << std::boolalpha
<< ti->get_requested_commit() << ", tx_id:"
<< tx_id;
return;
}
used_ids().insert(tx_id);
Expand Down

0 comments on commit 05e3aff

Please sign in to comment.