[fix][broker] Fix return the earliest position when query position by timestamp.#20457
[fix][broker] Fix return the earliest position when query position by timestamp.#20457Jason918 merged 5 commits intoapache:masterfrom
Conversation
There was a problem hiding this comment.
Please add a test case for this kind of behavior change. Also, add a link to your personal fork CI to prove that existing tests are not affected. See https://pulsar.apache.org/contribute/personal-ci/
Barely changing boolean logic is risky.
|
/pulsarbot rerun-failure-checks |
pulsar-broker/src/test/java/org/apache/pulsar/broker/service/PersistentMessageFinderTest.java
Outdated
Show resolved
Hide resolved
AnonHxy
left a comment
There was a problem hiding this comment.
LGTM with minor comments
pulsar-broker/src/test/java/org/apache/pulsar/broker/service/PersistentMessageFinderTest.java
Outdated
Show resolved
Hide resolved
|
/pulsarbot rerun-failure-checks |
|
/pulsarbot rerun-failure-checks |
|
/pulsarbot rerun-failure-checks |
|
You broke the build by checking in an empty file |
… timestamp. (apache#20457) (cherry picked from commit 0e60340) (cherry picked from commit 6a62499)
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #20457 +/- ##
=============================================
+ Coverage 33.58% 73.08% +39.50%
- Complexity 12127 32010 +19883
=============================================
Files 1613 1867 +254
Lines 126241 138758 +12517
Branches 13770 15263 +1493
=============================================
+ Hits 42396 101416 +59020
+ Misses 78331 29298 -49033
- Partials 5514 8044 +2530
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Fixes #20368
Master Issue: #20368
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: hanmz#1