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)