commit | 3b946f6a58e5b0a6efc361f55a31de6bee304d05 | [log] [tgz] |
---|---|---|
author | Ken Ashcraft <kash@google.com> | Tue May 13 09:04:20 2014 -0700 |
committer | Ken Ashcraft <kash@google.com> | Tue May 13 09:04:57 2014 -0700 |
tree | 882cc9b28be4ec83c6695eacb387e12f78fd61c5 | |
parent | c1861cb3d03da265ee3d0fd100e9671fb07790d5 [diff] |
veyron/services/store/memstore/query: Fix race conditions. This change makes evalIterator thread-safe. The problem with the old code was that Next() might not see something on the error channel since select is non-deterministic. it.err might not be set even though there is a pending error on errc. Change-Id: I3e1651a5859a35f5d1c6b683cfd123cc60342fd2