brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aled Sage (JIRA)" <>
Subject [jira] [Resolved] (BROOKLYN-357) $brooklyn:entitySpec entities blocking each other when resolving DSL
Date Thu, 13 Oct 2016 18:10:21 GMT


Aled Sage resolved BROOKLYN-357.
       Resolution: Fixed
         Assignee: Svetoslav Neykov
    Fix Version/s: 0.10.0

> $brooklyn:entitySpec entities blocking each other when resolving DSL
> --------------------------------------------------------------------
>                 Key: BROOKLYN-357
>                 URL:
>             Project: Brooklyn
>          Issue Type: Bug
>            Reporter: Svetoslav Neykov
>            Assignee: Svetoslav Neykov
>             Fix For: 0.10.0
> Entities created out of {{$brooklyn:entitySpec}} share their config and DSL objects in
particular, blocking each other when resolving them. One entity not able to resolve or taking
longer than usual will block the rest entities in the group failing our quorum strategies.
> The locking happens in [{{BrooklynDslDeferredSupplier}}|].
The objects don't (or shouldn't) store any state as they are shared between entities so we
can remove the locking altogether. An alternative is to clone the objects per entity but it
won't fully solve the problem as the DSL object can still be shared between entities through
the config inheritance hierarchy.

This message was sent by Atlassian JIRA

View raw message