Added check for galera sync after revert

Change-Id: If980b4c3b298196fbcbc79ee18e968babe89bcef
Merge "Added check for galera sync after revert"