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

[jira] [Created] (HBASE-20962) LogStream Metadata Tracking

Josh Elser created HBASE-20962:
----------------------------------

             Summary: LogStream Metadata Tracking
                 Key: HBASE-20962
                 URL: https://issues.apache.org/jira/browse/HBASE-20962
             Project: HBase
          Issue Type: Sub-task
            Reporter: Josh Elser


An open question is about how HBase would track these LogService-backed WALs.

Presently, HBase uses server-names and a well-known directory in HDFS to know what WALs exist. Since we are not relying on HDFS (or a distributed filesystem), we need to come up with something else.

[~sergey soldatov] made a good suggestion today which was that we could implement another Ratis StateMachine whose purpose was specifically designed to managing the state of LogStreams "in HBase". This information should be relatively "small" (WRT the amount of data in each LogStream), so we can avoid the kinds of problems described in HBASE-20961 around re-introducing a failed peer to the quorum. This is the best idea I've heard so far on the matter.

The other obvious candidate would be ZooKeeper but this is probably a non-starter as it would be persistent data (which is an HBase anti-pattern).



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