client.pool: Optimise getConnForNode for most likely execution path.
Vincent Pelletier authored
Connection is more often established than not, so do a first lookup without
locking, and only acquire it if it misses. Then do a second lookup in case
another thread also established connection, and connect if it still misses.
efd7f6f1