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
             Fix For: 0.20.1, 0.21.0


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.

Reply via email to