Alessandro Adamou created STANBOL-1428:
------------------------------------------

             Summary: Import resolution is not thtead-safe
                 Key: STANBOL-1428
                 URL: https://issues.apache.org/jira/browse/STANBOL-1428
             Project: Stanbol
          Issue Type: Bug
          Components: Ontology Manager
    Affects Versions: 1.0.0
         Environment: cross-platform
            Reporter: Alessandro Adamou
            Assignee: Alessandro Adamou
            Priority: Critical


When loading an ontology with imports, the ClerezzaOntologyProvider keeps 
triple iterators running on the target graph for longer than required. Since 
Clerezza introduced Lockable the MGraph, this thread-unsafety has resulted in 
concurrent exceptions being thrown.

The solution is now to
* minimize the lifetime of iterators (do not keep them open during import 
resolution)
* use mutex locks as documented in https://clerezza.apache.org/faq/



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

Reply via email to