Don't attach snapshot node to parent if created for a read transaction.
Merge branch 'v1.12.x' into next