Bug-2692:Real snapshots should use the replicatedToAllIndex for clearing in-mem log