Skip to content

Commit

Permalink
crimson/.../transaction_manager: add log for eagain
Browse files Browse the repository at this point in the history
Signed-off-by: Yingxin Cheng <[email protected]>
  • Loading branch information
cyx1231st committed Mar 29, 2021
1 parent 73c1a55 commit 6049793
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/crimson/os/seastore/transaction_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ TransactionManager::submit_transaction_direct(
-> submit_transaction_ertr::future<> {
auto record = cache->try_construct_record(tref);
if (!record) {
logger().debug("TransactionManager::submit_transaction_direct: "
"conflict detected, returning eagain.");
return crimson::ct_error::eagain::make();
}

Expand Down

0 comments on commit 6049793

Please sign in to comment.