Fix race condition in collect(..)
authorVladislav Isenbaev <winger@fb.com>
Thu, 30 Apr 2015 22:39:27 +0000 (15:39 -0700)
committerPraveen Kumar Ramakrishnan <praveenr@fb.com>
Tue, 12 May 2015 00:01:48 +0000 (17:01 -0700)
commite602963840f91a673443aff98d14d339194882d1
treee9c2e782ab01ebc171f575a2e585520e42bf5e05
parent0b46bcd5eceaedb51c84bc16f5804481b41cb965
Fix race condition in collect(..)

Summary: This is a temporary fix (until D2015320 is checked in) for race condition(s) in collect(..) method.

Test Plan:
Run unit tests
Run buffalo_aggregator canary

Reviewed By: jsedgwick@fb.com

Subscribers: folly-diffs@, jsedgwick, yfeldblum, chalfant

FB internal diff: D2037406

Tasks: 6894157

Signature: t1:2037406:1430435227:ed9612d016cdbd708e2deba02dc4fe0b59632f5a
folly/futures/Future-inl.h