Uh oh!
There was an error while loading. Please reload this page.
HBASE-26551 Add FastPath feature to HBase RWQueueRpcExecutor - #3929
Conversation
YutSean
commented
Dec 9, 2021
I have two considerations.
|
Apache-HBase
commented
Dec 9, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 9, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 9, 2021
🎊 +1 overall
This message was automatically generated. |
YutSean
commented
Dec 10, 2021
Reconstructed the code and extracted the RpcHandler to avoid the redundant coding of fastpath handler. |
Apache-HBase
commented
Dec 10, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 10, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 10, 2021
🎊 +1 overall
This message was automatically generated. |
YutSean
commented
Dec 10, 2021
The failed UT is not related with the changes. |
Reidddddd
commented
Dec 15, 2021
LGTM. |
YutSean
commented
Dec 15, 2021
Left some comments to explain in the corresponding ticket. @Reidddddd |
| public boolean dispatch(final CallRunner callTask) throws InterruptedException { | ||
| RpcCall call = callTask.getRpcCall(); | ||
| boolean isWriteRequest = isWriteRequest(call.getHeader(), call.getParam()); | ||
| boolean shouldDispatchToScanQueue = shouldDispatchToScanQueue(callTask); |
There was a problem hiding this comment.
here it uses isWriteRequest, can you rename it isScanRequest as well? Naming alias.
There was a problem hiding this comment.
How about change the isWriteRequest to shouldDispatchToWriteQueue. While scan requests can also be handled as read requests when the scan ratio is 0.0.
Apache-HBase
commented
Dec 15, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 15, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 15, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 15, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 15, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 15, 2021
💔 -1 overall
This message was automatically generated. |
YutSean
commented
Dec 20, 2021
Refined the variable name in the latest commit. I think this is more readable then. |
Apache-HBase
commented
Dec 20, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 20, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 20, 2021
🎊 +1 overall
This message was automatically generated. |
Apache9
commented
Jan 11, 2022
@Reidddddd Any new comments here? |
Reidddddd
left a comment
There was a problem hiding this comment.
Thanks for the ping (pardon me, I forgot it)
OK to go, +1
https://issues.apache.org/jira/browse/HBASE-26551