You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2016/10/24 19:06:59 UTC

[jira] [Closed] (CAY-2125) SchemaUpdateStrategy doesn't work with multiple DataNodes

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

Andrus Adamchik closed CAY-2125.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.M4

> SchemaUpdateStrategy doesn't work with multiple DataNodes
> ---------------------------------------------------------
>
>                 Key: CAY-2125
>                 URL: https://issues.apache.org/jira/browse/CAY-2125
>             Project: Cayenne
>          Issue Type: Bug
>    Affects Versions: 4.0.M3
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 4.0.M4
>
>
> SchemaUpdateStrategy is a singleton that can be applied to multiple DataNodes. At the same time BaseSchemaUpdateStrategy has a "run" flag that is set to true after the first DN goes through it. This means that schema generation will never happen for other DataNodes. We need to either redefine strategy scope or track schema updates by DataNode.



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