fixed leader election issue

`process_snapshotS`