Skip to content

Conversation

@Technoboy-
Copy link
Contributor

@Technoboy- Technoboy- commented Apr 24, 2022

Motivation

As #11357 has introduced Transaction coordinator fence mechanism to implement TC instead of Bundle Listener, the old logic in the #TransactionMetadataStoreService#start has deprecated since 2.9. So it's better to remove them.

Remove the unnecessary synchronized in the close method introduced by #14524.

Modifications

  • Remove start method.
  • Remove unnecessary synchronized in close.
  • Unwrap exception in the isRetryableException.

Documentation

  • no-need-doc
    (Please explain why)

@Technoboy- Technoboy- self-assigned this Apr 24, 2022
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Apr 24, 2022
@Technoboy-
Copy link
Contributor Author

@lhotari Could you please help review the removal of synchronized in the close method?

@Technoboy- Technoboy- force-pushed the cleanup-tx-metadata-store branch from 2507786 to 7ff1a16 Compare April 25, 2022 02:39
@Technoboy- Technoboy- added type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use area/transaction labels Apr 25, 2022
@codelipenghui codelipenghui added this to the 2.11.0 milestone Apr 25, 2022
@Technoboy- Technoboy- merged commit 35c4b68 into apache:master Apr 25, 2022
@Technoboy- Technoboy- deleted the cleanup-tx-metadata-store branch August 10, 2022 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/transaction doc-not-needed Your PR changes do not impact docs type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants