youtube/vitess — pull request #88 by sougou (2014-10-16 05:19:28+00:00)
Title: tabletserver: deadline plumbing

Connection pool waits also make use of deadlines.
Memcache operations don't use this deadline, but
it's ok because we have bigger problems if those operations
timeout. This can be changed in the future if needed.
For now, deadlines apply only to queries. Transactional
operations do not have a deadline.
Begin will need a separate deadline. This will be a separate CL.
@alainjobart @henryanand @guoliang100