Only cursors on shards which are not present in the retargeted operation are actually closed, but the message:
closing cursor on shard " << i->first << " as the connection is no longer required by...
is printed for every cursor.
Only cursors on shards which are not present in the retargeted operation are actually closed, but the message:
closing cursor on shard " << i->first << " as the connection is no longer required by...
is printed for every cursor.