[
https://issues.apache.org/jira/browse/KUDU-3813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexey Serbin updated KUDU-3813:
--------------------------------
Description:
The TestDontBackgroundAbortIfCommitInProgress scenario in txn_commit-itest
fails from time to time with errors like below (at least in TSAN builds):
{noformat}
I20261005 12:23:20.561852 20844 txn_status_manager.cc:1391] automatically
aborted stale txn (ID 0) past 0.305s from last keepalive heartbeat (effective
timeout is 0.300s)
src/kudu/integration-tests/txn_commit-itest.cc:841: Failure
Failed
Bad status: Illegal state: Failed to write to server:
eac03b2130bb42d2bdd422415fd97dfc (127.16.33.65:38953): transaction ID 0 is not
open: state: ABORT_IN_PROGRESS user: "slave" start_timestamp: 1791203000
last_transition_timestamp: 1791203000
{noformat}
It seems the problem is that the started test transaction is automatically
aborted because of staleness -- perhaps, scheduler anomalies and/or delays of
overloaded test node is the root cause of the flakiness. Increasing keepalive
timeout should help.
Full log is attached.
was:
The TestDontBackgroundAbortIfCommitInProgress scenario in txn_commit-itest
fails from time to time with errors like below (at least in TSAN builds):
{noformat}
I20261005 12:23:20.561852 20844 txn_status_manager.cc:1391] automatically
aborted stale txn (ID 0) past 0.305s from last keepalive heartbeat (effective
timeout is 0.300s)
src/kudu/integration-tests/txn_commit-itest.cc:841: Failure
Failed
Bad status: Illegal state: Failed to write to server:
eac03b2130bb42d2bdd422415fd97dfc (127.16.33.65:38953): transaction ID 0 is not
open: state: ABORT_IN_PROGRESS user: "slave" start_timestamp: 1791203000
last_transition_timestamp: 1791203000
{noformat}
It seems the problem is that the started test transaction is automatically
aborted because of staleness -- perhaps, scheduler anomalies and/or delays of
overloaded test node are the root cause here. Increasing keepalive timeout
should help.
Full log is attached.
> TxnCommitITest.TestDontBackgroundAbortIfCommitInProgress fails from time to
> time
> --------------------------------------------------------------------------------
>
> Key: KUDU-3813
> URL: https://issues.apache.org/jira/browse/KUDU-3813
> Project: Kudu
> Issue Type: Bug
> Components: test, transactions
> Affects Versions: 1.19.0
> Reporter: Alexey Serbin
> Priority: Major
> Attachments: txn_commit-itest.txt.xz
>
>
> The TestDontBackgroundAbortIfCommitInProgress scenario in txn_commit-itest
> fails from time to time with errors like below (at least in TSAN builds):
> {noformat}
> I20261005 12:23:20.561852 20844 txn_status_manager.cc:1391] automatically
> aborted stale txn (ID 0) past 0.305s from last keepalive heartbeat (effective
> timeout is 0.300s)
> src/kudu/integration-tests/txn_commit-itest.cc:841: Failure
> Failed
> Bad status: Illegal state: Failed to write to server:
> eac03b2130bb42d2bdd422415fd97dfc (127.16.33.65:38953): transaction ID 0 is
> not open: state: ABORT_IN_PROGRESS user: "slave" start_timestamp: 1791203000
> last_transition_timestamp: 1791203000
> {noformat}
> It seems the problem is that the started test transaction is automatically
> aborted because of staleness -- perhaps, scheduler anomalies and/or delays of
> overloaded test node is the root cause of the flakiness. Increasing
> keepalive timeout should help.
> Full log is attached.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)