[
https://issues.apache.org/jira/browse/HBASE-1879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Clint Morgan updated HBASE-1879:
--------------------------------
Attachment: 1879-v2.patch
I missed a line.
> ReadOnly transactions generate WAL activity.
> --------------------------------------------
>
> Key: HBASE-1879
> URL: https://issues.apache.org/jira/browse/HBASE-1879
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.20.0
> Reporter: Clint Morgan
> Assignee: Clint Morgan
> Priority: Minor
> Fix For: 0.20.1, 0.21.0
>
> Attachments: 1879-v2.patch, 1879.patch
>
>
> Currently we write a start entry in the WAL each time a transaction starts,
> and a commit/abort at the end of the transaction. This means read-only
> transactions unnecessarily generate two WAL entries per region.
> Can avoid this by removing the start entry from the WAL (this is implicit in
> the first trx OP entry we see), and only writing commit/abort when the
> transaction has a write.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.