Skip to content

Fix fate tx details - #6586

Merged
DomGarguilo merged 2 commits into
apache:mainfrom
DomGarguilo:fixFateTxDetails
Oct 16, 2026
Merged

DomGarguilo merged 2 commits into
apache:mainfrom
DomGarguilo:fixFateTxDetails

Conversation

@DomGarguilo

Copy link
Copy Markdown
Member

Fixes #6566

This fixes a bug/race where while the monitor was reading a FATE transaction's info, the transaction could finish and be deleted. This caused issues in the corresponding monitor page where the transaction was listed but with no Operation and with an age of 56 years.

This PR changes things to now skip transactions whos status comes back UNKNOWN which is what is returned for the status when a transaction is gone. I also saw a case where the status was SUCCESSFUL, it had a proper op but the time was the 56 years value. I think this happens when the transaction goes away after part of the info is read so I added this case to the skip check.

Used a helper script that polls the /rest-v2/fate endpoint every couple seconds and looks for any UNKNOWN status or created time of 0. Before these changes I was seeing about 5 per minute while running the new test from apache/accumulo-testing#322. After these changes I do not see any of those.

@DomGarguilo DomGarguilo added this to the 4.0.0 milestone Oct 14, 2026
@DomGarguilo
DomGarguilo requested a review from dlmarion October 14, 2026 22:22
@DomGarguilo DomGarguilo self-assigned this Oct 14, 2026
@DomGarguilo
DomGarguilo merged commit eb0bd26 into apache:main Oct 16, 2026
8 checks passed
@DomGarguilo
DomGarguilo deleted the fixFateTxDetails branch October 16, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some Fate Transaction details missing from Monitor

3 participants