influxdb/cluster/internal
Jason Wilder ab164c20a2 Fix race in cluster RPC serialization
Point was accessed from multiple goroutines and there was a race on the the internal
cachedFields and cachedName fields.  Accessing these fields is unnecessary work as it
requires the point to be unmarshal into Go types and then remarshaled back into protbuf
types.  Instead, just send the line protocol version already available on the point via
the protobuf.  This avoid accesssing these cached fields and eliminates some extra work.

Possible fix for #4069
2015-09-15 16:21:39 -06:00
..
data.pb.go Fix race in cluster RPC serialization 2015-09-15 16:21:39 -06:00
data.proto Fix race in cluster RPC serialization 2015-09-15 16:21:39 -06:00