hbase-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/HBASE-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Li Pi updated HBASE-4278:
-------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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, 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