[
https://issues.apache.org/jira/browse/HBASE-9466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13763471#comment-13763471
]
Jean-Daniel Cryans commented on HBASE-9466:
-------------------------------------------
It is set here:
https://github.com/apache/hbase/blob/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java#L621
Then we check the write state when doing operations that can mutate data.
> 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