Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0EAAA109DF for ; Tue, 21 Jan 2014 00:55:24 +0000 (UTC) Received: (qmail 40991 invoked by uid 500); 21 Jan 2014 00:55:21 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 40948 invoked by uid 500); 21 Jan 2014 00:55:21 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 40913 invoked by uid 500); 21 Jan 2014 00:55:20 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 40905 invoked by uid 99); 21 Jan 2014 00:55:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jan 2014 00:55:20 +0000 Date: Tue, 21 Jan 2014 00:55:20 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-5358) API: synchronization on the object is broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-5358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877042#comment-13877042 ] ASF subversion and git services commented on CLOUDSTACK-5358: ------------------------------------------------------------- Commit 8db0d83d1aff178845076a7ff9429d69ada81364 in branch refs/heads/4.3 from [~kelveny] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8db0d83 ] CLOUDSTACK-5358: Bring back concurrency control in sync-queue management > API: synchronization on the object is broken > -------------------------------------------- > > Key: CLOUDSTACK-5358 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5358 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.3.0 > Reporter: Alena Prokharchyk > Assignee: Kelven Yang > Priority: Critical > Fix For: 4.3.0, 4.4.0 > > > There is a way to synchronize API commands on certain CS object. For example, when createFirewallRule is called, synchronization on the Network is being done, so the next command won't be processed till the last one is executed. To enable it for the certain command, following methods have to be added to corresponding *Cmd class: > @Override > public String getSyncObjType() { > return BaseAsyncCmd.networkSyncObject; > } > @Override > public Long getSyncObjId() { > return getIp().getAssociatedWithNetworkId(); > } > This logic got broken after the changes for vmSync got merged in. -- This message was sent by Atlassian JIRA (v6.1.5#6160)