more persistence error handling
Merge branch 'release/4.1.31'