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

[fix][storage] ReadonlyManagedLedger initialization does not fill in the properties #22630

Merged

Conversation

gvanyao
Copy link
Contributor

@gvanyao gvanyao commented May 1, 2024

Fixes: #22606

Main Issue: ReadonlyManagedLedger initialization does not fill in the properties.

Motivation

Modifications

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

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

Matching PR in forked repository

PR in forked repository:

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label May 1, 2024
@gvanyao gvanyao changed the title fix ReadOnlyManagedLedger initialization missing properties [fix][storage] ReadonlyManagedLedger initialization does not fill in the properties May 1, 2024
@nodece
Copy link
Member

nodece commented May 3, 2024

/pulsarbot rerun-failure-checks

2 similar comments
@gvanyao
Copy link
Contributor Author

gvanyao commented May 3, 2024

/pulsarbot rerun-failure-checks

@gvanyao
Copy link
Contributor Author

gvanyao commented May 3, 2024

/pulsarbot rerun-failure-checks

@nodece nodece added this to the 3.3.0 milestone May 3, 2024
@gvanyao
Copy link
Contributor Author

gvanyao commented May 3, 2024

/pulsarbot rerun-failure-checks

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.74%. Comparing base (bbc6224) to head (1dc0ca0).
Report is 218 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #22630      +/-   ##
============================================
- Coverage     73.57%   72.74%   -0.83%     
+ Complexity    32624     2418   -30206     
============================================
  Files          1877     1887      +10     
  Lines        139502   141010    +1508     
  Branches      15299    15480     +181     
============================================
- Hits         102638   102581      -57     
- Misses        28908    30569    +1661     
+ Partials       7956     7860      -96     
Flag Coverage Δ
inttests 27.11% <0.00%> (+2.53%) ⬆️
systests 24.66% <0.00%> (+0.34%) ⬆️
unittests 71.50% <100.00%> (-1.35%) ⬇️

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

Files Coverage Δ
...keeper/mledger/impl/ReadOnlyManagedLedgerImpl.java 56.16% <100.00%> (+2.54%) ⬆️

... and 341 files with indirect coverage changes

@nodece nodece merged commit eee3694 into apache:master May 4, 2024
55 checks passed
lhotari pushed a commit that referenced this pull request May 14, 2024
lhotari pushed a commit that referenced this pull request May 14, 2024
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request May 15, 2024
…the properties (apache#22630)

(cherry picked from commit eee3694)
(cherry picked from commit 91f4287)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request May 16, 2024
…the properties (apache#22630)

(cherry picked from commit eee3694)
(cherry picked from commit 91f4287)
@gvanyao gvanyao deleted the type/bug/readonly-managedledger-lose-properties branch May 20, 2024 01:59
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.

[Bug] ReadonlyManagedLedger initialization does not fill in the properties
7 participants