Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Security Level: Public (Anyone can view this level - this is the default.)
-
None
Description
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.
Attachments
Issue Links
- links to