ENG-6767: DR replica - fix up logic for snapshot coordination, and initial k-safety work