[ https://issues.apache.org/jira/browse/HBASE-19083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16321920#comment-16321920 ]
Duo Zhang commented on HBASE-19083: ----------------------------------- Your question #1 is the answer to question #2. I want to make sure in the compile time that you must have at least one writer instance, so that for #2, your will never use the null to complete the future since the length can only be null when you call sync the first time and the index is 0 but the length is at least 1. > Introduce a new log writer which can write to two HDFSes > -------------------------------------------------------- > > Key: HBASE-19083 > URL: https://issues.apache.org/jira/browse/HBASE-19083 > Project: HBase > Issue Type: Sub-task > Components: Replication, wal > Reporter: Duo Zhang > Assignee: Duo Zhang > Labels: HBASE-19064 > Fix For: HBASE-19064 > > Attachments: HBASE-19083.patch > > -- This message was sent by Atlassian JIRA (v6.4.14#64029)