Skip to content

[feat][sql] Support metadata store url - #18210

Merged
Jason918 merged 6 commits into
apache:masterfrom
tisonkun:debug-pulsar-sql-support-metadata
Nov 2, 2022
Merged

Jason918 merged 6 commits into
apache:masterfrom
tisonkun:debug-pulsar-sql-support-metadata

Conversation

@tisonkun

@tisonkun tisonkun commented Oct 26, 2022 •

Copy link
Copy Markdown
Member

This refers to #18209 and part of the commits is included in #18207.

Although it seems hard to integrate with the RocksDB metadata store backend which is the original purpose for this patch as described in #18209, this patch migrates Pulsar SQL dependency of metadata store to the PIP-45 proposed model. And now we can use etcd metadata store backend at least and reduce dependencies to legacy logics.

cc @merlimat @gaoran10 @nicoloboschi @Jason918 @lhotari

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: tisonkun#12

@tisonkun
tisonkun force-pushed the debug-pulsar-sql-support-metadata branch from 41db6cd to 1badf26 Compare October 26, 2022 13:50
@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Oct 26, 2022

@Jason918 Jason918 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@codelipenghui codelipenghui added this to the 2.12.0 milestone Nov 1, 2022
@codelipenghui

Copy link
Copy Markdown
Contributor

/pulsarbot run-failure-checks

2 similar comments
@poorbarcode

Copy link
Copy Markdown
Contributor

/pulsarbot run-failure-checks

@tisonkun

tisonkun commented Nov 2, 2022

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

@codecov-commenter

codecov-commenter commented Nov 2, 2022 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 45.00%. Comparing base (6c65ca0) to head (61abf85).
⚠️ Report is 3530 commits behind head on master.

Files with missing lines Patch % Lines
...che/pulsar/broker/BookKeeperClientFactoryImpl.java 0.00% 1 Missing ⚠️
...etadata/bookkeeper/PulsarMetadataClientDriver.java 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #18210       +/-   ##
=============================================
+ Coverage     34.91%   45.00%   +10.09%     
- Complexity     5707    15916    +10209     
=============================================
  Files           607     1365      +758     
  Lines         53396   118683    +65287     
  Branches       5712    12883     +7171     
=============================================
+ Hits          18644    53418    +34774     
- Misses        32119    59846    +27727     
- Partials       2633     5419     +2786     
Flag Coverage Δ
unittests 45.00% <0.00%> (+10.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...che/pulsar/broker/BookKeeperClientFactoryImpl.java 0.00% <0.00%> (ø)
...etadata/bookkeeper/PulsarMetadataClientDriver.java 0.00% <0.00%> (ø)

... and 1355 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tisonkun

tisonkun commented Nov 2, 2022

Copy link
Copy Markdown
Member Author

cc @Jason918 @codelipenghui I think this patch is ready for merge now :)

@Jason918
Jason918 merged commit 2de90b2 into apache:master Nov 2, 2022
@tisonkun
tisonkun deleted the debug-pulsar-sql-support-metadata branch November 10, 2022 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs ready-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants