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
HBASE-26715 Blocked on SyncFuture in AsyncProtobufLogWriter#write #4184
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.
I was going to comment, I actually had envisioned that we'd feed the timeout in higher up the stack in the rollWriter path somewhere. It was initially concerning to me to see a wal roll timeout in a method called write
. That said, I took another look at the code and realized two things:
- It'd be very hard to wire that through so many layers of indirection.
- The
write
method here is actually only used for writing the WAL header and tailer -- so it may indeed make sense to use a roll-wall-specific timeout here.
So with all of that, this is a very nitpick, but I wonder if we should rename write
to writeWALMetadata
or something like that. It'd just be clearer to the reader I think, but not a huge deal.
@bbeaudreault sounds good, see c20aa7a |
Thanks! Looks good. |
💔 -1 overall
This message was automatically generated. |
Triggered another build. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
Test failures in precommit checks are a NPE due to this change, let me fix it...
|
Rebase and fix NPE found by precommit |
Make default for |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
TestHBaseTestingUtil issue is HBASE-26824 |
I have a fix pending for HBASE-26824 on #4203 . Going to merge this now. |
…ogWriter#write (apache#4184) Co-authored-by: Bryan Beaudreault <bbeaudreault@gmail.com> Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Viraj Jasani<virajjasani@apache.org> Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
…ogWriter#write (apache#4184) Co-authored-by: Bryan Beaudreault <bbeaudreault@gmail.com> Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Viraj Jasani<virajjasani@apache.org> Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
…ache#4184) Co-authored-by: Bryan Beaudreault <bbeaudreault@gmail.com> Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Viraj Jasani<virajjasani@apache.org> Signed-off-by: Xiaolin Ha <haxiaolin@apache.org> (cherry picked from commit bfae853) Change-Id: I5523da8a57333e4076cdbc0584c48d4833850b52
See the discussion on HBASE-26715