[ 
https://issues.apache.org/jira/browse/HBASE-25186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17213848#comment-17213848
 ] 

Anoop Sam John commented on HBASE-25186:
----------------------------------------

Introduction of afterRoll() was for MasterRegion correct?  May be what we 
wanted is afterArchive() which will be called after archiving 1+ files?

> TestMasterRegionOnTwoFileSystems is failing after HBASE-25065
> -------------------------------------------------------------
>
>                 Key: HBASE-25186
>                 URL: https://issues.apache.org/jira/browse/HBASE-25186
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha-1, 2.4.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: Duo Zhang
>            Priority: Blocker
>
> After HBASE-25065, we are having a test case failure with 
> TestMasterRegionOnTwoFileSystems. 
> The reason is that we manually trigger a WAL roll on the master region. As 
> part of the WAL roll we expect the Master region's WAL will also be moved 
> from region oldWAL dir to the global oldWAL directory. This happens after 
> afterRoll() method in AbstractWALRoller. 
> Since  now the WAL archival is asynchronous the afterRoll() method does not 
> find any WAL file to be moved in the local region oldWAL dir. So the movement 
> to global oldWAL dir does not happen. 
> The test case checks for the file in the oldWAL dir and since it is not found 
> the test timesout. WE need a way to fix this. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to