r10465: separate out a read_only db from a read-only traversal to ensure we