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
This commit is contained in:
parent
26cc7e9a23
commit
2a37e705f7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue