hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feng Honghua (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9466) Read-only mode
Date Mon, 16 Sep 2013 12:12:55 GMT

    [ https://issues.apache.org/jira/browse/HBASE-9466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768268#comment-13768268

Feng Honghua commented on HBASE-9466:

[~jdcryans] Thanks for the pointer. But currently the readonly mode can't be switched on/off
without disabling a table. What I proposed for this JIRA is to provide user the capability
to switch a table to readonly mode(temporarily reject write) without disabling it(hence without
offling all its regions, which is heavy).

Current readonly(table attribute) supports read to a table and rejects update, but if user
wants to enable write to this table, he needs to do online schema change for this table and
which incurs offling/re-onlining operations for all regions of this table. My proposal is
can we provide readonly as table mode(as enable/disable) rather than table attribute which
indicates whether a table accepts write and can switch on/off without offlining/onlining all
its regions.
> 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

View raw message