influxdb/cluster
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
..
internal Fix race in cluster RPC serialization 2015-09-15 16:21:39 -06:00
client_pool.go Use read locks instead of write lock for connection pools checkout 2015-06-08 11:21:07 -06:00
config.go Allow remote mapping to be forced 2015-07-20 10:44:45 -07:00
config_test.go Allow the PointWriter timeout to be configurable 2015-07-02 12:50:12 -04:00
points_writer.go Add stats to PointsWriter 2015-09-08 19:30:07 -07:00
points_writer_test.go convert meta shard owners to objects 2015-08-31 16:33:13 -06:00
rpc.go Fix race in cluster RPC serialization 2015-09-15 16:21:39 -06:00
rpc_test.go Remove ownerID from protobufs 2015-06-02 14:45:52 -06:00
service.go Wait for all the cluster connections to complete 2015-09-08 11:04:00 -06:00
service_test.go convert SHOW MEASUREMENTS to a distributed query 2015-08-23 23:09:51 -04:00
shard_mapper.go convert meta shard owners to objects 2015-08-31 16:33:13 -06:00
shard_mapper_test.go Fix inconsistent results from show measurements 2015-08-31 14:31:00 -06:00
shard_writer.go RemoteShard mapping now performed over TCP 2015-07-20 10:44:38 -07:00
shard_writer_test.go Rename cluster unit test function 2015-07-17 13:05:15 -07:00