[
https://issues.apache.org/jira/browse/HBASE-26881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wellington Chevreuil resolved HBASE-26881.
------------------------------------------
Resolution: Fixed
Merged to branch-2. Thanks for reviewing, [~apurtell] !
> Backport HBASE-25368 to branch-2
> ---------------------------------
>
> Key: HBASE-26881
> URL: https://issues.apache.org/jira/browse/HBASE-26881
> Project: HBase
> Issue Type: Sub-task
> Affects Versions: 2.5.0, 2.6.0
> Reporter: Wellington Chevreuil
> Assignee: Wellington Chevreuil
> Priority: Major
>
> HBASE-26640 introduced two extra paths under master:store table:
> ".initializing" and ".initialized", in order to control when such store has
> been completed started for SFT.
> Problem is that TestHFileProcedurePrettyPrinter uses
> RegionInfo.isEncodedRegionName to determine if a given child path in the
> table dir is a valid region dir. Current implementation for
> RegionInfo.isEncodedRegionName considers ".initializing" and ".initialized"
> as valid region encoded names, thus the test ends up picking one of the flag
> dirs to list hfiles that should had been modified when validating the test
> outcome.
> Further improvements have been made to RegionInfo.isEncodedRegionName in
> HBASE-25368 to proper validate region names, but those weren't backported to
> branch-2.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)