ENG-6767: Some fixes for replica cluster rejoin, and make cluster die if a node fails during sync snapshot