cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-10202) createSnapshotPolicy API create multiple entries in DB for same volume.
Date Tue, 02 Jan 2018 03:24:01 GMT

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

ASF subversion and git services commented on CLOUDSTACK-10202:
--------------------------------------------------------------

Commit 36f43b5d53e7720d10217ada2c5b926a833dd6bb in cloudstack's branch refs/heads/master from
niteshsarda
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=36f43b5 ]

CLOUDSTACK-10202: createSnapshotPolicy API create multiple entries in DB for same volume.
(#2373)

createSnapshotPolicy API create multiple entries in DB for same parameters, if multiple threads
are executed in parallel.

STEPS TO REPRODUCE :

Created a new machine having root and data disk.
Make sure that no existing snapshot policy is present for the volume.
Execute multiple threads in parallel for createSnapshotPolicy API having all required parameters
exactly same.
Verify table snapshot_policy in DB, will get multiple entries for same policy.
Once again execute same multiple threads, by changing any API parameter, will see that existing
entries are getting modified in DB and no new entries are added.

> createSnapshotPolicy API create multiple entries in DB for same volume.
> -----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10202
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10202
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Nitesh Sarda
>
> *ISSUE :*
> createSnapshotPolicy API create multiple entries in DB for same parameters, if multiple
threads are executed in parallel.
> *STEPS TO REPRODUCE :*
> # Created a new machine having root and data disk.
> # Make sure that no existing snapshot policy is present for the volume.
> # Execute multiple threads in parallel for createSnapshotPolicy API having all required
parameters exactly same.
> # Verify table snapshot_policy in DB, will get multiple entries for same policy.
> # Once again execute same multiple threads, by changing any API parameter, will see that
existing entries are getting modified in DB and no new entries are added.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message