You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Elliott Clark (JIRA)" <ji...@apache.org> on 2015/12/29 05:22:49 UTC

[jira] [Commented] (HBASE-15047) Try spin lock for MVCC completion

    [ https://issues.apache.org/jira/browse/HBASE-15047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15073462#comment-15073462 ] 

Elliott Clark commented on HBASE-15047:
---------------------------------------

This would mean that there's no lock for queueing. There's no need to for a queue.

> Try spin lock for MVCC completion
> ---------------------------------
>
>                 Key: HBASE-15047
>                 URL: https://issues.apache.org/jira/browse/HBASE-15047
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>
> Waits/Notify is very very expensive since it can cost a thread scheduling. There should only ever be a few threads ( < Num Cores ) running. So it should be possible to spin and use compare and swap to update the read point.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)