[
https://issues.apache.org/jira/browse/HBASE-9466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13762675#comment-13762675
]
Feng Honghua commented on HBASE-9466:
-------------------------------------
[~jdcryans] Yes, I'm proposing a 'read-only mode'(can be per-table or
per-cluster) rather than 'disabling table', the latter is pretty heavyweight in
that it needs to offline all regions of the given table.
If we just want to temporarily disable 'update' to a table or the whole cluster
and later on we want to enable 'update' again, disabling a table or all tables
of the cluster seems a quite heavy choice.
Thanks for pointing me to the read-only interface of HTableDescriptor of trunk,
but I don't see any code using it, how is this RO expected to work?
> Read-only mode
> --------------
>
> Key: HBASE-9466
> URL: https://issues.apache.org/jira/browse/HBASE-9466
> Project: HBase
> Issue Type: New Feature
> Reporter: Feng Honghua
> Priority: Minor
>
> Can we provide a read-only mode for a table? write to the table in read-only
> mode will be rejected, but read-only mode is different from disable in that:
> 1. it doesn't offline the regions of the table(hence much more lightweight
> than disable)
> 2. it can serve read requests
> Comments?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira