Commit Graph

6 Commits

Author SHA1 Message Date
Brad Fitzpatrick
d092608c06 Align Group.Stats properly for 32-bit platforms.
Fixes golang/go#18334
2016-12-16 00:27:18 +00:00
Matthew Denton
b3c0d093a3 portPicker function now takes group name, RegisterPerGroupPeerPicker added to set this function 2016-08-03 12:39:10 -07:00
Shawn Smith
bf5f336156 fix typos 2016-05-15 16:45:38 +09:00
Tipp Moseley
d995f8a668 Fixes a concurrency error in groupcache. Previously, multiple Get
requests could simultaneously result in a load().  Only requests that
enter singleflight Do concurrently would be deduped, so it was possible for
populateCache to be called multiple times for the same key.  That
would result in overcounting nbytes, and eventually leading to a
livelock where nbytes > cacheBytes, but there were no entries in the
cache.

Change-Id: I5b304ce82041c1310c31b662486744e86509cc53
2016-01-27 11:33:35 -08:00
Blake Mizerany
0fb45dacf0 fix doc typo 2013-08-26 16:42:09 -07:00
Brad Fitzpatrick
6dad98a783 initial commit. 2013-07-23 18:03:06 -07:00