You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2019/10/17 22:34:00 UTC

[jira] [Created] (ZOOKEEPER-3586) Write Log To Multiple Drives

David Mollitor created ZOOKEEPER-3586:
-----------------------------------------

             Summary: Write Log To Multiple Drives
                 Key: ZOOKEEPER-3586
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3586
             Project: ZooKeeper
          Issue Type: Improvement
          Components: server
            Reporter: David Mollitor


Allow ZooKeeper server to write the transaction log to multiple drives.  I can imagine two different ways of doing this:

# Allow special namespace ZNodes under the root node.  Upon creation, the user can specify the location of the log file for all activity under this node.
# Write each transaction out to more than one drive and return an ACK when any of the writes complete. Cancel any pending writes and delete the files that are furthest behind on merge.
# Write each transaction out to more than one drive and obtain a lock on a target drive before each write.  If the lock for the first drive is taken, attempt to get the lock on the second drive, and so on, ... combine logs on merge being mindful that one of the transactions may have failed and created a small hole in the middle of the log.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)