YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
8.64k
stars
1.04k
forks
source link
[dst] Avoid conflict resolution if waiting transaction is unblocked from unresolvable conflict #13577
Open
robertsami opened 1 year ago
Jira Link: DB-3156 See: https://github.com/yugabyte/yugabyte-db/blob/dc811063af47a1727cbe59e5ce621f2e94da71c9/src/yb/docdb/wait_queue.cc#L352 https://github.com/yugabyte/yugabyte-db/blob/dc811063af47a1727cbe59e5ce621f2e94da71c9/src/yb/docdb/conflict_resolution.cc#L656
Instead of re-running conflict resolution in these cases, just rollback the transaction and fail the operation