hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enis Söztutar <e...@apache.org>
Subject Re: Question on DisableTableHandler#handleDisableTable()
Date Tue, 31 Mar 2015 21:11:24 GMT
We retry (2) until it succeeds or master is stopped (in which case the new
master takes over), no?

On Tue, Mar 31, 2015 at 2:00 PM, Stephen Jiang <syuanjiangdev@gmail.com>
wrote:

> In DisableTableHandler#handleDisableTable(), we do the following:
> (1). Set the table state to DISABLING
> (2). Try to mark all regions of table (based on in-memory state of the
> active master) to offline
> (3). If 2 succeed, then set the table state to DISABLED
>
> My question is if (2) failed, it would continue to co-processor post
> operation and complete the process() call.  This will leave the table in
> DISABLING state without letting user know that the operation actually
> fails.  Is this desired behavior?
>
> Thanks
> Stephen
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message