influxdb/models
Ben Johnson 78a9bb2527 Remove Tags.shouldCopy, replace with forceCopy on series creation.
Previously, tags had a `shouldCopy` flag to indicate if those tags
referenced an underlying buffer and should be copied to allow GC.
Unfortunately, this prevented tags from being copied that were
created and referenced the mmap which caused segfaults.

This change removes the `shouldCopy` flag and replaces it with a
`forceCopy` argument in `CreateSeriesIfNotExists()`. This allows
the write path to indicate that tags must be cloned on insert.
2017-02-21 11:13:35 -07:00
..
consistency.go Update godoc for package models 2016-12-30 18:02:52 -08:00
inline_fnv.go Update godoc for package models 2016-12-30 18:02:52 -08:00
inline_fnv_test.go Implement and use zero-alloc FNV64a. 2016-09-26 11:43:27 -07:00
inline_strconv_parse.go models: Add FieldIterator type 2016-10-03 16:30:21 -06:00
inline_strconv_parse_test.go models: Add FieldIterator type 2016-10-03 16:30:21 -06:00
points.go Remove Tags.shouldCopy, replace with forceCopy on series creation. 2017-02-21 11:13:35 -07:00
points_internal_test.go Add test for marshalling a point without fields 2016-12-28 12:09:30 -08:00
points_test.go Fix memory leak of retained HTTP write payloads 2017-01-12 16:16:54 -08:00
rows.go Update godoc for package models 2016-12-30 18:02:52 -08:00
statistic.go Update godoc for package models 2016-12-30 18:02:52 -08:00
statistic_test.go Ensure we don't mutate provided statistics tags 2016-08-24 11:40:13 +01:00
time.go Support negative timestamps in the query engine 2016-08-25 12:52:41 -05:00