Files
dolt/go/chunks
cmasone-attic 4e7db2cd49 Fix httpChunkStore race between Close() and Has/Get (#3571)
In httpChunkStore, calls to Get/Has and friends put a request object
with a 'return channel' onto a queue channel, and then block on the
return channel. The queue channel was buffered, which made it
impossible to cause Get, Has et al to terminate reliably when the
store was closed.

This patch removes the buffering on the channel so we can
deterministically bail from Get/Has et al when closing the store. I
don't think we were actually seeing any benefit from the buffer on the
queue channels, because everywhere we write to one of them we
immediately block on another channel, waiting for the result of the
request.

Fixes #3566
2017-06-27 13:02:29 -07:00
..
2016-12-02 12:11:00 -08:00
2017-05-03 10:40:24 -07:00