ancestor query for strong consistency