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][broker] PulsarStandalone started with error if --stream-storage-port is not 4181 #22993

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

zhouyifan279
Copy link
Contributor

@zhouyifan279 zhouyifan279 commented Jul 2, 2024

Motivation

Fixes #22992

Modifications

Replace hard coded port with streamStoragePort field in LocalBookkeeperEnsemble.

Verifying this change

  • Make sure that the change passes the CI checks.

  • This change added tests and can also be verified with command PULSAR_STANDALONE_USE_ZOOKEEPER=1 bin/pulsar standalone --stream-storage-port 4182

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

NO

  • 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: zhouyifan279#1

@zhouyifan279
Copy link
Contributor Author

@dlg99 Can you review this pr?Thanks.

@nodece
Copy link
Member

nodece commented Jul 3, 2024

/pulsarbot rerun-failure-checks

@zhouyifan279
Copy link
Contributor Author

@nodece OpenTelemetrySanityTest#testOpenTelemetryMetricsOtlpExport timed out multiple times. I'm investigating the reason today.

@zhouyifan279
Copy link
Contributor Author

@nodece

@nodece OpenTelemetrySanityTest#testOpenTelemetryMetricsOtlpExport timed out multiple times. I'm investigating the reason today.

Test error was caused by an upstream change in the OTel receiver. It has been fixed by #22998. I rebased current PR on master branch. CI should be OK now.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.42%. Comparing base (bbc6224) to head (909a588).
Report is 440 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #22993      +/-   ##
============================================
- Coverage     73.57%   73.42%   -0.15%     
- Complexity    32624    32989     +365     
============================================
  Files          1877     1912      +35     
  Lines        139502   143195    +3693     
  Branches      15299    15590     +291     
============================================
+ Hits         102638   105148    +2510     
- Misses        28908    30022    +1114     
- Partials       7956     8025      +69     
Flag Coverage Δ
inttests 27.53% <100.00%> (+2.94%) ⬆️
systests 24.71% <100.00%> (+0.39%) ⬆️
unittests 72.50% <100.00%> (-0.35%) ⬇️

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

Files Coverage Δ
...ache/pulsar/zookeeper/LocalBookkeeperEnsemble.java 74.31% <100.00%> (+1.30%) ⬆️

... and 484 files with indirect coverage changes

@nodece nodece merged commit 17e3f86 into apache:master Jul 8, 2024
51 checks passed
nodece pushed a commit that referenced this pull request Jul 8, 2024
nodece pushed a commit that referenced this pull request Jul 8, 2024
nodece pushed a commit that referenced this pull request Jul 8, 2024
nodece pushed a commit that referenced this pull request Jul 8, 2024
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Jul 10, 2024
…-port is not 4181 (apache#22993)

(cherry picked from commit 17e3f86)
(cherry picked from commit 0753a2c)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Jul 15, 2024
…-port is not 4181 (apache#22993)

(cherry picked from commit 17e3f86)
(cherry picked from commit 0753a2c)
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] PulsarStandalone started with error if --stream-storage-port is not 4181
3 participants