Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Add conflicting table when transactions are retried #7144

Merged
merged 2 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ private <T> void logAttempt(UUID runId, Attempt<T> attempt, IntPredicate shouldS
log.warn(
"[{}] Non-retriable exception while processing transaction.",
SafeArg.of("runId", runId),
SafeArg.of("failureCount", failureCount));
SafeArg.of("failureCount", failureCount),
exception);
} else if (shouldStopRetrying.test(failureCount)) {
log.warn(
"[{}] Failing after {} tries.",
Expand Down
5 changes: 5 additions & 0 deletions changelog/@unreleased/pr-7144.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type: improvement
improvement:
description: When transactions conflict, log the tables which conflicted.
links:
- https://github.com/palantir/atlasdb/pull/7144