hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: HBASE-4358
Date Sat, 10 Sep 2011 21:33:07 GMT
Its as though we should do all the mods in a tmp dir and then if all
go through, only then do fs.rename moving the new schema into place.

St.Ack

On Fri, Sep 9, 2011 at 7:25 PM, Ted Yu <yuzhihong@gmail.com> wrote:
> I ran unit tests for HBASE-4358 patch 3 and they passed.
>
> The only issue remaining is in TableMultiFamilyHandler.java
>  @Override
>  protected void updateTableDescriptor(HTableDescriptor desc)
>    throws IOException {
>    // just ask all of the sub-operations to update the descriptor
>    for (TableFamilyHandler op : operations) {
>      op.updateTableDescriptor(desc);
>    }
>  }
> where we don't have ACID guarantee that either all modifications go through
> or none of the modifications go through.
>
> If the above is Okay, I can add javadoc for the above at time of commit.
>
> If anyone thinks this is not good, please comment on ways of supporting ACID
> guarantee.
>
> Thanks
>

Mime
View raw message