hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Jiang <syuanjiang...@gmail.com>
Subject Question on DisableTableHandler#handleDisableTable()
Date Tue, 31 Mar 2015 21:00:10 GMT
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