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

[improve][meta] Simplify getting parent path in ZKMetadataStore without using java.io.File #23996

Merged
merged 3 commits into from
Feb 18, 2025

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Feb 17, 2025

Motivation

In ZKMetadataStore.asyncCreateFullPathOptimistic method, there's a hack using java.io.File to resolve the parent path. This could be simplified.

Modifications

Use String operations to resolve parent path.

Documentation

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

@lhotari lhotari changed the title [improve][meta] Simplify getting parent path in ZKMetadataStore without using java.io.File hack [improve][meta] Simplify getting parent path in ZKMetadataStore without using java.io.File Feb 18, 2025
@codecov-commenter
Copy link

codecov-commenter commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.16%. Comparing base (bbc6224) to head (64cf688).
Report is 924 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #23996      +/-   ##
============================================
+ Coverage     73.57%   74.16%   +0.58%     
+ Complexity    32624    31893     -731     
============================================
  Files          1877     1853      -24     
  Lines        139502   143871    +4369     
  Branches      15299    16350    +1051     
============================================
+ Hits         102638   106698    +4060     
+ Misses        28908    28784     -124     
- Partials       7956     8389     +433     
Flag Coverage Δ
inttests 26.69% <33.33%> (+2.10%) ⬆️
systests 23.20% <33.33%> (-1.13%) ⬇️
unittests 73.69% <100.00%> (+0.84%) ⬆️

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

Files with missing lines Coverage Δ
...g/apache/pulsar/metadata/impl/ZKMetadataStore.java 86.01% <100.00%> (+0.76%) ⬆️

... and 1042 files with indirect coverage changes

@lhotari lhotari merged commit 4bfdcd8 into apache:master Feb 18, 2025
54 checks passed
lhotari added a commit that referenced this pull request Feb 19, 2025
…ut using java.io.File (#23996)

(cherry picked from commit 4bfdcd8)
lhotari added a commit that referenced this pull request Feb 19, 2025
…ut using java.io.File (#23996)

(cherry picked from commit 4bfdcd8)
lhotari added a commit that referenced this pull request Feb 19, 2025
…ut using java.io.File (#23996)

(cherry picked from commit 4bfdcd8)
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Feb 19, 2025
…ut using java.io.File (apache#23996)

(cherry picked from commit 4bfdcd8)
(cherry picked from commit f5d7309)
mukesh-ctds pushed a commit to datastax/pulsar that referenced this pull request Feb 20, 2025
…ut using java.io.File (apache#23996)

(cherry picked from commit 4bfdcd8)
(cherry picked from commit e623a3c)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Feb 24, 2025
…ut using java.io.File (apache#23996)

(cherry picked from commit 4bfdcd8)
(cherry picked from commit f5d7309)
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.

3 participants