kgeisz opened a new pull request, #7683:
URL: https://github.com/apache/hbase/pull/7683

   https://issues.apache.org/jira/browse/HBASE-29825
   
   [HBASE-29656](https://issues.apache.org/jira/browse/HBASE-29656) introduced 
an issue where continuous incremental backups would fail when run at certain 
times of the day.  This occurred because `BackupUtils.getValidWalDirs()` was 
not using the UTC time zone when checking if a day's WAL files overlap with the 
required time range.  If the user ran a continuous incremental backup when it 
was "today" in local time but "tomorrow" in UTC time (such as 4:00 PM PST), 
then the list of valid WAL directories would incorrectly be empty.
   
   This pull request fixes the issue by setting the time zone to UTC in 
`BackupUtils.getValidWalDirs()`.  It also adds some unit test cases for 
`getValidWalDirs()`.  I have confirmed this fix works with 
`IntegrationTestContinuousBackupRestore` in the `HBASE-29164` branch.
   


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