Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZOOKEEPER-4864: Fix bad format when dump MultiTxn in TxnLogToolkit #2192

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

luoxiner
Copy link
Contributor

@luoxiner luoxiner commented Sep 27, 2024

Currently, the TxnLogToolkit only decodes error transactions to recognized strings. This PR seeks to enhance the toolkit to decode other types of transactions into a better format.

Associated jira issue ZOOKEEPER-4864

Copy link
Member

@kezhuw kezhuw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @luoxiner, thank you for your contribution! The direction is good to me. I left some comments regarding the code. Please take a look, thanks.

cc @maoling in case you are interesting according to #1915 (comment)

decode Txn to record and format the output with record for better
format.
@luoxiner
Copy link
Contributor Author

@kezhuw thanks for your review ! I push a new commit, please take a look.

@tisonkun tisonkun merged commit b997145 into apache:master Oct 15, 2024
14 checks passed
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.

3 participants