Add retry logic for createLockRef in atomicPut 26/78126/2
authorMohammad Salehe <salehe@cs.toronto.edu>
Fri, 8 Feb 2019 17:03:55 +0000 (12:03 -0500)
committerMohammad Salehe <salehe@cs.toronto.edu>
Mon, 25 Feb 2019 03:23:38 +0000 (22:23 -0500)
commit9e553fdc2d3464fd566bf03b9cde4180a48618f5
tree8ed28092bdabc1eb9f877d6c248fc42c204953e6
parent0aeb39d2ef120dbfe363a433952f199124dd3c23
Add retry logic for createLockRef in atomicPut

createLockRef might fail because of Cassandra LWT failures.
atomicPut should keep retrying until success.

Change-Id: I044cb9277e17d19d7ffd4a02936f9eb6d8487bd3
Issue-ID: MUSIC-148
Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
src/main/java/org/onap/music/service/impl/MusicCassaCore.java