guluo2016 commented on PR #5273:
URL: https://github.com/apache/hbase/pull/5273#issuecomment-1584644517

   > Please add UT for this extra condition.
   
   I think it is difficult,beacause I just skip early for avoiding useless loop 
later.
   
   We can get information whether the table enable compaction by calling 
`r.getTableDescriptor().isCompactionEnabled()`,  and if false, we really do not 
need to foreach `region.stores` in the next.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to