thinkaurelius/titan — pull request #512 by xedin (2013-12-04 21:45:14+00:00)
Title: don't hold on to the borrowed connections in Cassandra Thrift iterators

GenericKeyedObjectPool default action on exhaustion of the pool is to block until new item because available which block all of the callers. It's always a bad idea to hold on to connection in iterator and rely on close to return it to the queue (resource exhaustion and potential memory leak).