You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2018/09/14 15:59:00 UTC

[jira] [Created] (RATIS-320) Fencing support for Logs

Josh Elser created RATIS-320:
--------------------------------

             Summary: Fencing support for Logs
                 Key: RATIS-320
                 URL: https://issues.apache.org/jira/browse/RATIS-320
             Project: Ratis
          Issue Type: Sub-task
            Reporter: Josh Elser


HBase has a use-case where, in certain situations, we need to prevent a RegionServer from continuing to write more edits into a Log. Specifically, if a RS loses its ZooKeeper lock, we want to prevent that RS from being allowed to write anything more into any WALs.

For the "current" Log, this is easy for us to handle as we can call {{LogService#closeLog(LogName)}} to prevent anyone from writing from writing to that LogStream. However, we don't have any mechanism to prevent that RS from creating a new Log and starting to write to it.

We need to come up with a solution inside of the LogService which can be used to prevent a specific client from creating new Logs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)