[ https://issues.apache.org/jira/browse/HBASE-16480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16256230#comment-16256230 ]
stack commented on HBASE-16480: ------------------------------- Punting from hbase2. FIgure it is more trouble than benefit. Needs careful attention which it is not going to get this late in the 2.0 game. > 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: stack > Fix For: 2.0.0 > > Attachments: HBASE-16480.master.001.patch > > > 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.4.14#64029)