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 18:23:59 UTC
[jira] [Created] (CAY-2125) SchemaUpdateStrategy doesn't work with
multiple DataNodes
Andrus Adamchik created CAY-2125:
------------------------------------
Summary: 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
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)