-
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 incorrect entryId in warn log when reading entry from tiered storage #14685
Fix incorrect entryId in warn log when reading entry from tiered storage #14685
Conversation
@hangc0276:Thanks for your contribution. For this PR, do we need to update docs? |
@hangc0276 seems that we do not update docs for this PR? |
@Anonymitaet Yes, it doesn't need doc updates. |
@hangc0276:Thanks for providing doc info! |
### Motivation When read offload data failed, it prints a warn log. However, the actual read entryId doesn't print correctly, which will makes hard to debug. ``` WARN org.apache.bookkeeper.mledger.offload.jcloud.impl.BlobStoreBackedReadHandleImpl - Read an unexpected entry id [] which is smaller than the next expected entry id 49648, seeking to the right position ``` ### Modification 1. Print correct actual entryId (cherry picked from commit bcba273)
### Motivation When read offload data failed, it prints a warn log. However, the actual read entryId doesn't print correctly, which will makes hard to debug. ``` WARN org.apache.bookkeeper.mledger.offload.jcloud.impl.BlobStoreBackedReadHandleImpl - Read an unexpected entry id [] which is smaller than the next expected entry id 49648, seeking to the right position ``` ### Modification 1. Print correct actual entryId (cherry picked from commit bcba273)
### Motivation When read offload data failed, it prints a warn log. However, the actual read entryId doesn't print correctly, which will makes hard to debug. ``` WARN org.apache.bookkeeper.mledger.offload.jcloud.impl.BlobStoreBackedReadHandleImpl - Read an unexpected entry id [] which is smaller than the next expected entry id 49648, seeking to the right position ``` ### Modification 1. Print correct actual entryId
Motivation
When read offload data failed, it prints a warn log. However, the actual read entryId doesn't print correctly, which will makes hard to debug.
Modification