You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2016/08/23 13:12:20 UTC

[jira] [Created] (HBASE-16480) Merge WALEdit and WALKey

Enis Soztutar created HBASE-16480:
-------------------------------------

             Summary: Merge WALEdit and WALKey
                 Key: HBASE-16480
                 URL: https://issues.apache.org/jira/browse/HBASE-16480
             Project: HBase
          Issue Type: Sub-task
          Components: wal
            Reporter: Enis Soztutar
            Assignee: Enis Soztutar
             Fix For: 2.0.0


No need for separate classes: 
{code}
// TODO: Key and WALEdit are never used separately, or in one-to-many relation, for practical
//       purposes. They need to be merged into WALEntry.
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.REPLICATION)
public class WALKey implements SequenceId, Comparable<WALKey> {
{code}

Will reduce garbage a little and simplify code. We can get rid of WAL.Entry as well. 



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