hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4278) Race condition in Slab.java that occurs due to spinlock unlocking early.
Date Mon, 29 Aug 2011 14:30:37 GMT

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

Ted Yu commented on HBASE-4278:
-------------------------------

The patch contains changes for src/docbkx/book.xml which I assume was unintended.
+1 on patch for Slab.java.

> Race condition in Slab.java that occurs due to spinlock unlocking early.
> ------------------------------------------------------------------------
>
>                 Key: HBASE-4278
>                 URL: https://issues.apache.org/jira/browse/HBASE-4278
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Li Pi
>            Assignee: Li Pi
>             Fix For: 0.92.0
>
>         Attachments: 4278.diff
>
>
> Just a race condition in 4027. Occurs due to a spinlock that happens if the slab allocator
is empty. When the slab allocator gets gets a slice of memory returned, if multiple threads
are locked, both can be freed at the same time, leading one to throw an exception.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message