[Issue 10521] read-only transaction under a read-only transaction