From 2a37e705f7e1ec6225bb2cd747233a74044c02ec Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Sat, 3 Oct 2009 04:57:23 +0000 Subject: [PATCH] HBASE-1879 ReadOnly transactions generate WAL activity git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@821245 13f79535-47bb-0310-9956-ffa450edef68 --- .../hbase/regionserver/transactional/TransactionalRegion.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/contrib/transactional/src/java/org/apache/hadoop/hbase/regionserver/transactional/TransactionalRegion.java b/src/contrib/transactional/src/java/org/apache/hadoop/hbase/regionserver/transactional/TransactionalRegion.java index 2fa3143b673..b4e03110cb6 100644 --- a/src/contrib/transactional/src/java/org/apache/hadoop/hbase/regionserver/transactional/TransactionalRegion.java +++ b/src/contrib/transactional/src/java/org/apache/hadoop/hbase/regionserver/transactional/TransactionalRegion.java @@ -366,7 +366,6 @@ public class TransactionalRegion extends HRegion { } // Otherwise we were read-only and commitable, so we can forget it. state.setStatus(Status.COMMITED); - this.hlog.writeCommitToLog(super.getRegionInfo(), state.getTransactionId()); retireTransaction(state); return TransactionalRegionInterface.COMMIT_OK_READ_ONLY; }