cloudstack/server
niteshsarda 36f43b5d53 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.
2018-01-02 08:53:46 +05:30
..
conf Remove extraneous log directory and add catalina.out log rotation 2016-05-12 08:41:39 +01:00
resources CLOUDSTACK-10024: Network migration support 2017-12-21 11:25:17 +01:00
scripts
src CLOUDSTACK-10202: createSnapshotPolicy API create multiple entries in DB for same volume. (#2373) 2018-01-02 08:53:46 +05:30
test CLOUDSTACK-10121 moveUser (#2301) 2017-12-30 11:40:14 +00:00
pom.xml CLOUDSTACK-9993: Securing Agents Communications (#2239) 2017-08-28 12:15:11 +02:00