[
https://issues.apache.org/jira/browse/HBASE-17507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15833454#comment-15833454
]
Duo Zhang commented on HBASE-17507:
-----------------------------------
And I think we already have a lock in MultiVersionConcurrencyControl. Can we
reuse the lock? Maybe something like
MultiVersionConcurrencyControl.begin(Runnable action)
The action will be executed under the lock in MVCC so can keep the same order
with mvcc. That means, in the old time we do mvcc.begin while append WAL, and
now we append WAL while acquire mvcc write number. Is it possible? This can
save on extra lock which you mentioned above that may have bad impact on
performance for an underloaded region.
Thanks.
> Add document for the mvcc preassign feature introduced in HBASE-16698
> ---------------------------------------------------------------------
>
> Key: HBASE-17507
> URL: https://issues.apache.org/jira/browse/HBASE-17507
> Project: HBase
> Issue Type: Task
> Reporter: Yu Li
> Assignee: Yu Li
>
> In this JIRA we will supply a design doc of the mvcc preassign mechanism
> introduced in HBASE-16698, as well as more detailed performance data of it
> for better reference.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)