streamnative / bookkeeper-achieved

Apache Bookkeeper
https://bookkeeper.apache.org
Apache License 2.0
3 stars 2 forks source link

ISSUE-2831: ReadEntryProcessorV3 code doesn't piggyback LAC when its requested #415

Open sijie opened 2 years ago

sijie commented 2 years ago

Original Issue: apache/bookkeeper#2831


BUG REPORT

Describe the bug

Code https://github.com/apache/bookkeeper/blob/master/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/ReadEntryProcessorV3.java#L180-L185

When we are enabling “readLACPiggyBack” flag but we don’t get the expected result because of this issue.

To Reproduce

Manually checked

Expected behavior

If readLACPiggyBack flag is sent by client, we should receive the LAC (even though its opportunistic)