ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIA-79) Handle attributes update concurrency issues
Date Thu, 02 Feb 2017 09:50:51 GMT

    [ https://issues.apache.org/jira/browse/ARIA-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15849734#comment-15849734
] 

ASF GitHub Bot commented on ARIA-79:
------------------------------------

Github user dankilman commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/64#discussion_r99083124
  
    --- Diff: aria/storage/base_model.py ---
    @@ -479,6 +479,7 @@ class NodeInstanceBase(ModelMixin):
         __tablename__ = 'node_instances'
         _private_fields = ['node_fk', 'host_fk']
     
    +    version_id = Column(Integer, nullable=False)
    --- End diff --
    
    think where version_id might also be applied


> Handle attributes update concurrency issues
> -------------------------------------------
>
>                 Key: ARIA-79
>                 URL: https://issues.apache.org/jira/browse/ARIA-79
>             Project: AriaTosca
>          Issue Type: Bug
>            Reporter: Ran Ziv
>            Assignee: Dan Kilman
>
> Multiple operations may update a node instance's attributes / runtime-properties concurrently,
overriding one another's changes.
> Some form of versioning lock should be used to prevent this from happening.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message