That patch continue fixes made for LP#1628580
If db sync fails, it is never retried leading to errors. So, this
patch adds retries for db_sync to avoid sync fails.
Change-Id: Ie718efef81a24d0299fff83d39d04fac5a36fbb0
Related-Bug: #1628580
Closes-Bug: #1647305