hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramkrishna.S.Vasudevan" <ramkrishna.vasude...@huawei.com>
Subject RE: Providing coprocessor hooks in rollbackMemStore while doing puts
Date Thu, 22 Mar 2012 15:17:55 GMT
Hi

Currently I too feel one is enough as per the use case that I could think
of.

Regards
Ram

> -----Original Message-----
> From: Ted Yu [mailto:yuzhihong@gmail.com]
> Sent: Thursday, March 22, 2012 8:40 PM
> To: dev@hbase.apache.org
> Cc: rama krishna
> Subject: Re: Providing coprocessor hooks in rollbackMemStore while
> doing puts
> 
> Ram:
> Your proposal makes sense.
> Do we need two callbacks here ?
> 
> On Thu, Mar 22, 2012 at 7:59 AM, Ramkrishna.S.Vasudevan <
> ramkrishna.vasudevan@huawei.com> wrote:
> 
> > With coprocessors hooks while put happens we have the provision to
> create
> > new puts to other tables or regions.  These puts can be done with
> > writeToWal
> > as false.
> > In 0.94 and above the puts are first written to memstore and then to
> WAL.
> > If any failure in the WAL append or sync the memstore is rollbacked.
> > Now the problem is that if the put that happens in the main flow
> fails
> > there
> > is no way to rollback the
> > puts that happened in the prePut.
> >
> > Can we add hooks like preRollbackMemstore and postRollBackMemstore so
> that
> > I
> > will be atleast able to rollback the entries?
> >
> > Can we raise a JIRA for solving this.
> >
> >
> >
> >


Mime
View raw message