-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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] Fix config replicationStartAt does not work when set it to earliest #23719
[fix] [broker] Fix config replicationStartAt does not work when set it to earliest #23719
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/pulsarbot rerun-failure-checks |
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
Outdated
Show resolved
Hide resolved
…rviceConfiguration.java Co-authored-by: Lari Hotari <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #23719 +/- ##
============================================
+ Coverage 73.57% 74.40% +0.82%
- Complexity 32624 34472 +1848
============================================
Files 1877 1945 +68
Lines 139502 147482 +7980
Branches 15299 16278 +979
============================================
+ Hits 102638 109732 +7094
- Misses 28908 29282 +374
- Partials 7956 8468 +512
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…t to earliest (#23719) Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 39f4ccd)
…t to earliest (#23719) Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 39f4ccd)
…t to earliest (#23719) Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 39f4ccd)
…t to earliest (apache#23719) Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 39f4ccd) (cherry picked from commit ab69c3d)
…t to earliest (apache#23719) Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 39f4ccd) (cherry picked from commit ab69c3d)
Motivation
The value of the config named
replicationStartAt
areearliest
orlatest
, but both implementation and test usedMessageId.earliest.toString()
that value is-1:-1:-1
( so the test works as expected).Therefore, setting
replicationStartAt
toearliest
does not work.Modifications
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: x