You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2017/12/21 04:24:25 UTC

[GitHub] niteshsarda opened a new pull request #2373: CLOUDSTACK-10202:createSnapshotPolicy API create multiple entries in DB for same parameters.

niteshsarda opened a new pull request #2373: CLOUDSTACK-10202:createSnapshotPolicy API create multiple entries in DB for same parameters.
URL: https://github.com/apache/cloudstack/pull/2373
 
 
   **ISSUE :**
   createSnapshotPolicy API create multiple entries in DB for same parameters, if multiple threads are executed in parallel.
   
   **STEPS TO REPRODUCE :**
   1. Created a new machine having root and data disk.
   2. Make sure that no existing snapshot policy is present for the volume.
   3. Execute multiple threads in parallel for createSnapshotPolicy API having all required parameters exactly same.
   4. Verify table snapshot_policy in DB, will get multiple entries for same policy.
   5. 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 is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services