Re: Stuck Serial replication -- Need suggestions on recovery

2021-08-17 Thread Mallikarjun
Thanks for answering the queries. --- Mallikarjun On Wed, Aug 18, 2021 at 9:32 AM 张铎(Duo Zhang) wrote: > In hbase, the mvcc write number and wal sequence id are the same > thing, so when we just want to bump the mvcc number, we will not write > an actual WAL but the sequence id will be

Re: Stuck Serial replication -- Need suggestions on recovery

2021-08-17 Thread Duo Zhang
In hbase, the mvcc write number and wal sequence id are the same thing, so when we just want to bump the mvcc number, we will not write an actual WAL but the sequence id will be increased. And I think it will be good to have a MR job to replicate WAL serially. Mallikarjun 于2021年8月18日周三

Re: Stuck Serial replication -- Need suggestions on recovery

2021-08-17 Thread Mallikarjun
Inline Reply On Wed, Aug 18, 2021 at 8:06 AM 张铎(Duo Zhang) wrote: > Mallikarjun 于2021年8月18日周三 上午10:19写道: > > > > Thanks for the response @Duo > > > > Inline reply > > > > On Wed, Aug 18, 2021 at 7:37 AM 张铎(Duo Zhang) > wrote: > > > > > This is the isRangeFinished method > > > > > > private

Re: Stuck Serial replication -- Need suggestions on recovery

2021-08-17 Thread Duo Zhang
Mallikarjun 于2021年8月18日周三 上午10:19写道: > > Thanks for the response @Duo > > Inline reply > > On Wed, Aug 18, 2021 at 7:37 AM 张铎(Duo Zhang) wrote: > > > This is the isRangeFinished method > > > > private boolean isRangeFinished(long endBarrier, String > > encodedRegionName) throws IOException { >

Re: Stuck Serial replication -- Need suggestions on recovery

2021-08-17 Thread Mallikarjun
Thanks for the response @Duo Inline reply On Wed, Aug 18, 2021 at 7:37 AM 张铎(Duo Zhang) wrote: > This is the isRangeFinished method > > private boolean isRangeFinished(long endBarrier, String > encodedRegionName) throws IOException { > long pushedSeqId; > try { > pushedSeqId =

Re: Stuck Serial replication -- Need suggestions on recovery

2021-08-17 Thread Duo Zhang
This is the isRangeFinished method private boolean isRangeFinished(long endBarrier, String encodedRegionName) throws IOException { long pushedSeqId; try { pushedSeqId = storage.getLastSequenceId(encodedRegionName, peerId); } catch (ReplicationException e) { throw new

Stuck Serial replication -- Need suggestions on recovery

2021-08-17 Thread Mallikarjun
I have got into the following scenario. I won't go into details of how I got here, since I am not able to reliably reproduce this scenario thus far. (Typically happens when some rs goes down because of hardware issues) Let me explain to you the following details. Col 1: Region server on which