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

Adar Dembo resolved KUDU-1473.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0

Fixed in commit 679c6b2.

> ProcessPendingAssignments accesses tablet metadata without a lock
> -----------------------------------------------------------------
>
>                 Key: KUDU-1473
>                 URL: https://issues.apache.org/jira/browse/KUDU-1473
>             Project: Kudu
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.9.0
>            Reporter: Todd Lipcon
>            Assignee: Adar Dembo
>             Fix For: 1.0.0
>
>
> I've seen Java tests being flaky with this crash:
> {code}
> F0530 13:51:16.076247 30686 cow_object.h:82] Check failed: lock_.HasReaders() 
> || lock_.HasWriteLock()
> *** Check failure stack trace: ***
>      @     0x7f8c52d0fe64  kudu::CowObject<>::state()
>      @     0x7f8c52d0848b  
> kudu::master::AsyncCreateReplica::AsyncCreateReplica()
>      @     0x7f8c52cf7af2  
> kudu::master::CatalogManager::SendCreateTabletRequests()
>      @     0x7f8c52cf7375  
> kudu::master::CatalogManager::ProcessPendingAssignments()
>      @     0x7f8c52ce4ad7  kudu::master::CatalogManagerBgTasks::Run()  
> {code}
> It seems like this code path doesn't acquire the read lock on the tablet, and 
> thus fires the assertion



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

Reply via email to