hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliott Clark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15047) Try spin lock for MVCC completion
Date Tue, 29 Dec 2015 04:22:49 GMT

    [ 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)

Mime
View raw message