add some code for cluster state sync
debug cluster sync
Merge branch 'cluster'