=per #15212 Avoid half written snapshots in LocalSnapshotStore