anoopsjohn commented on a change in pull request #1681:
URL: https://github.com/apache/hbase/pull/1681#discussion_r427492504
##########
File path:
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/HBaseRpcControllerImpl.java
##########
@@ -101,8 +102,12 @@ public void setPriority(int priority) {
@Override
public void setPriority(final TableName tn) {
- setPriority(
- tn != null && tn.isSystemTable() ? HConstants.SYSTEMTABLE_QOS :
HConstants.NORMAL_QOS);
+ int priority = HConstants.NORMAL_QOS;
+ if (tn != null && tn.isSystemTable()
+ && !tn.equals(SlowLogTableAccessor.SLOW_LOG_TABLE_NAME)) {
Review comment:
Should we set the priority on the write req directly (Put) rather than
having extra check like this at different places? That will work right?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]