Skip to content

Added option to print Fate tx details in fate list cmd#6382

Open
dlmarion wants to merge 5 commits into
apache:mainfrom
dlmarion:fate-tx-details
Open

Added option to print Fate tx details in fate list cmd#6382
dlmarion wants to merge 5 commits into
apache:mainfrom
dlmarion:fate-tx-details

Conversation

@dlmarion
Copy link
Copy Markdown
Contributor

This change adds an option to the fate --list command to print transaction details that give more context which objects are being modified in the fate command. The addition of the --info option will include an additional line in the output for each fate transaction that includes the detail information.

Related to #6017

This change adds an option to the `fate --list` command to print
transaction details that give more context which objects are
being modified in the fate command. The addition of the `--info`
option will include an additional line in the output for each
fate transaction that includes the detail information.

Related to apache#6017
@dlmarion dlmarion added this to the 4.0.0 milestone May 20, 2026
@dlmarion dlmarion self-assigned this May 20, 2026
@dlmarion
Copy link
Copy Markdown
Contributor Author

Example output showing a compaction I started on the ci table, without the new option:

./accumulo inst fate --list 
TABLE_COMPACT   fateId: FATE:USER:07ebcc36-44db-4bee-a603-daea08728352  status: SUBMITTED          locked: []              locking: []              op: CompactRange    created: 2026-05-20T16:57:03.958Z lock range: (null,null]
 1 transactions

Example with the new option:

./accumulo inst fate --list --info
TABLE_COMPACT   fateId: FATE:USER:07ebcc36-44db-4bee-a603-daea08728352  status: SUBMITTED          locked: []              locking: []              op: CompactRange    created: 2026-05-20T16:57:03.958Z lock range: (null,null]
	 Transaction details: {"namespaceId":"+default","tableId":"5","startRow":"0","endRow":"6"}
 1 transactions

@dlmarion
Copy link
Copy Markdown
Contributor Author

Commit 600a1e1 fixed an issue with byte arrays being serialized in CompactionCommitData, MergeInfo, and SplitInfo. Here is some example output with a merge command:

./accumulo inst fate --list --info
TABLE_COMPACT   fateId: FATE:USER:445627ea-5091-4bcb-a58a-b288e33f813e  status: IN_PROGRESS        locked: [R:+default, R:5] locking: []              op: CompactionDriver created: 2026-05-20T18:20:24.913Z lock range: (null,533333333333333b]
	 Transaction details: {"namespaceId":"+default","tableId":"5","endRow":"533333333333333b"}
TABLE_MERGE     fateId: FATE:USER:8e04fd9f-4858-4f5d-b448-3c8d11004504  status: SUBMITTED          locked: [R:+default]    locking: [W:5]           op: TableRangeOp    created: 2026-05-20T18:21:44.484Z lock range: (null,null]
	 Transaction details: {"namespaceId":"+default","tableId":"5","operation":"MERGE","startRow":"0","endRow":"9"}
TABLE_COMPACT   fateId: FATE:USER:c27ab0b6-2b87-4baa-882e-a161281b6ef5  status: IN_PROGRESS        locked: [R:+default, R:5] locking: []              op: CompactionDriver created: 2026-05-20T18:20:26.348Z lock range: (null,null]
	 Transaction details: {"namespaceId":"+default","tableId":"5"}

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.

1 participant