You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/08/20 15:08:32 UTC
[GitHub] [hbase] bsglz edited a comment on pull request #2279: HBASE-24908 Correct the description of hbase.offpeak.end.hour
bsglz edited a comment on pull request #2279:
URL: https://github.com/apache/hbase/pull/2279#issuecomment-677723234
The related logic shows below.
> @Override
> public boolean isOffPeakHour(int targetHour) {
> if (startHour <= endHour) {
> return startHour <= targetHour && targetHour < endHour;
> }
> return targetHour < endHour || startHour <= targetHour;
> }
return startHour <= targetHour && **targetHour < endHour**;
----------------------------------------------------------------
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:
users@infra.apache.org