You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2017/09/11 23:05:00 UTC
[jira] [Updated] (HBASE-16480) Merge WALEdit and WALKey
[ https://issues.apache.org/jira/browse/HBASE-16480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HBASE-16480:
--------------------------
Attachment: HBASE-16480.master.001.patch
> 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
> 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)