Skip to content

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

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

[feat][sql] Support metadata store url#18210
Jason918 merged 6 commits intoapache:masterfrom
tisonkun:debug-pulsar-sql-support-metadata

Conversation

@tisonkun
Copy link
Member

@tisonkun tisonkun commented Oct 26, 2022

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

Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
@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
Copy link
Contributor

@Jason918 Jason918 left a comment

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
Contributor

/pulsarbot run-failure-checks

2 similar comments
@poorbarcode
Copy link
Contributor

/pulsarbot run-failure-checks

@tisonkun
Copy link
Member Author

tisonkun commented Nov 2, 2022

/pulsarbot run-failure-checks

@codecov-commenter
Copy link

Codecov Report

Merging #18210 (61abf85) into master (6c65ca0) will increase coverage by 10.09%.
The diff coverage is 72.92%.

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% <72.92%> (+10.09%) ⬆️

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

Impacted Files Coverage Δ
...org/apache/bookkeeper/mledger/LedgerOffloader.java 5.55% <ø> (ø)
...che/bookkeeper/mledger/LedgerOffloaderFactory.java 0.00% <ø> (ø)
...pache/bookkeeper/mledger/LedgerOffloaderStats.java 0.00% <ø> (ø)
...ookkeeper/mledger/LedgerOffloaderStatsDisable.java 0.00% <ø> (ø)
...a/org/apache/bookkeeper/mledger/ManagedCursor.java 85.71% <ø> (ø)
...che/bookkeeper/mledger/ManagedLedgerException.java 67.64% <ø> (ø)
...bookkeeper/mledger/ManagedLedgerFactoryConfig.java 86.66% <ø> (ø)
...g/apache/bookkeeper/mledger/ManagedLedgerInfo.java 77.77% <ø> (ø)
...he/bookkeeper/mledger/OffloadedLedgerMetadata.java 0.00% <ø> (ø)
...ava/org/apache/bookkeeper/mledger/ScanOutcome.java 100.00% <ø> (ø)
... and 1484 more

@tisonkun
Copy link
Member Author

tisonkun commented Nov 2, 2022

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