Fix batch read data in cache does not take effect#2231
Fix batch read data in cache does not take effect#2231eolivelli merged 1 commit intoapache:masterfrom
Conversation
|
Hi. We should also add a test case to demonstrate that the fix works and in order to prevent regressions in the future. Thank you for contributing your fix |
|
HI.
Problems I found while testing pulsar consumption backtrace,
When reading historical data, you need to pull to disk. In theory, it should be batch pull, but from the phenomenon point of view, it does not. It is used in 4.9.2
Set -1 to firstEntryId and let it increment
------------------ 原始邮件 ------------------
发件人: "Enrico Olivelli"<notifications@github.com>;
发送时间: 2019年12月31日(星期二) 下午2:37
收件人: "apache/bookkeeper"<bookkeeper@noreply.github.com>;
抄送: "Just do it "<278903642@qq.com>;"Author"<author@noreply.github.com>;
主题: Re: [apache/bookkeeper] Fix batch read data in cache does not take effect (#2231)
Hi.
Can you please explain your problem and the fix?
We should also add a test case to demonstrate that the fix works and in order to prevent regressions in the future.
Thank you for contributing your fix
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
retest this please |
|
rebuild java11 |
|
@eolivelli is helping fix the CI issue. |
eolivelli
left a comment
There was a problem hiding this comment.
Yes I am working on CI.
I wonder if we can add some unit test, even using mockito
|
I think the code is obvious and the code path should have been already covered by existing tests. So this change should be good to go. |
|
retest this please |
|
I am sorry but the magic comment doesn't work anymore with github actions. |
|
@liudezhi2098 can you please merge with master branch so that CI kicks in again ? thanks in advance |
3499dfc to
7c15f5c
Compare
Descriptions of the changes in this PR: ### Motivation Fix batch read data in cache does not take effect ### Changes (Describe: what changes you have made) Master Issue: apache#2230 Fixes: apache#2230 Reviewers: Jia Zhai <zhaijia@apache.org>, Enrico Olivelli <eolivelli@gmail.com>, Sijie Guo <None> This closes apache#2231 from liudezhi2098/issue-branch-xxx
Descriptions of the changes in this PR:
Motivation
Fix batch read data in cache does not take effect
Changes
(Describe: what changes you have made)
Master Issue: #2230
Fixes: #2230