Description
Fetch more than one key uses doBulkGet() All others uses Do() (Fetch one key or INSERT/UPDATE/DELETE,....) The connection might have disconnected by memached. This can happen while we are using or connection is in the idle in the pool The connection needs to handle any of this transient errors and retry. We already do this in doBulkGet(), Not in Do(). The DoNoDeadline() code is same as Do() except caller takes care of deadline setting. Combined both by passing the flag and removed DoNoDeadline()