[
https://issues.apache.org/jira/browse/STANBOL-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alessandro Adamou resolved STANBOL-1428.
----------------------------------------
Resolution: Fixed
> Import resolution is not thread-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
> Labels: concurrency, thread-safety
>
> 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)