You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ashish Singhi (JIRA)" <ji...@apache.org> on 2015/08/18 08:23:46 UTC

[jira] [Commented] (HBASE-11116) Allow ReplicationSink to write to tables when READONLY is set

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

Ashish Singhi commented on HBASE-11116:
---------------------------------------

This can be solved using ACLs. Should we resolve it as Won't Fix ?

> Allow ReplicationSink to write to tables when READONLY is set
> -------------------------------------------------------------
>
>                 Key: HBASE-11116
>                 URL: https://issues.apache.org/jira/browse/HBASE-11116
>             Project: HBase
>          Issue Type: New Feature
>          Components: regionserver, Replication
>            Reporter: Geoffrey Anderson
>
> A common practice with MySQL replication is to enable the read_only flag (http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_read_only) on slaves in order to disallow any user changes to a slave, while allowing replication from the master to flow in.  In HBase, enabling the READONLY field on a table will cause ReplicationSink to fail to apply changes.  It'd be ideal to have the default behavior allow replication to continue going through, a configurable option to influence this type of behavior, or perhaps even a flag that manipulates a peer's state (e.g. via add_peer) that dictates if replication can write to READONLY tables.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)