You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2017/08/28 07:25:00 UTC

[jira] [Created] (HBASE-18703) Inconsistent behavior for preBatchMutate in doMiniBatchMutate and processRowsWithLocks

Duo Zhang created HBASE-18703:
---------------------------------

             Summary: Inconsistent behavior for preBatchMutate in doMiniBatchMutate and processRowsWithLocks
                 Key: HBASE-18703
                 URL: https://issues.apache.org/jira/browse/HBASE-18703
             Project: HBase
          Issue Type: Sub-task
            Reporter: Duo Zhang


In doMiniBatchMutate, the preBatchMutate is called before building WAL, but in processRowsWithLocks, we suggest the RowProcessor implementation to build WAL in process  method, which is ahead of preBatchMutate.

If a CP modifies the mutations, especially if it removes some cells from the mutations, then the behavior of processRowsWithLocks is broken. The changes applied to memstore and WAL will be different. And there is no way to remove entries from a WALEdit through CP. 





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)