=per #15429 Rewrite persistence documentation and samples for 2.3.4 changes