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

[broker] Setup transaction metadata with metadata store #10677

Merged
merged 1 commit into from
May 22, 2021

Conversation

fantapsody
Copy link
Contributor

Motivation

Refactor the initialize-transaction-coordinator-metadata command to use the new MetadataStore API.

Modifications

  • Refactor the PulsarTransactionCoordinatorMetadataSetup class to use the new MetadataStore API
  • Removed no long used methods createZkNode/createTenantIfAbsent/createNamespaceIfAbsent that accept ZooKeeper as parameters

Verifying this change

  • Make sure that the change passes the CI checks.
    This change is already covered by existing tests, such as TransactionMetaStoreAssignmentTest, TransactionBufferClientTest, TransactionCoordinatorClientTest

@merlimat merlimat merged commit 6347b52 into apache:master May 22, 2021
yangl pushed a commit to yangl/pulsar that referenced this pull request Jun 23, 2021
bharanic-dev pushed a commit to bharanic-dev/pulsar that referenced this pull request Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants