influxdb/models
Jacob Marble 44c5da060b buildtsi: Do not escape measurement names
When `influx_inspect buildtsi` is used to create a new `tsi1` index, spaces in measurement names are escaped, so measurement "a b" is changed to "a\ b".

This change modifies `models.ParseKeyBytes()` and `models.ParseName()` to unescape measurement names. `models.ParseKeyBytes()` returns unescaped tag keys, so this seems like the natural place to unescape measurement names.

Also followed `scanMeasurement()` to see what other code could be problematic, and this should be everything (the result of one other use of `scanMeasurement()` is later escaped).

Removed `tsdb.MeasurementFromSeriesKey()`. These methods are exported, so checked for side effects in other InfluxData repositories.
2018-05-30 15:20:56 -07:00
..
consistency.go
inline_fnv.go
inline_fnv_test.go
inline_strconv_parse.go Taught tsm1 storage engine how to read and write uint64 values 2017-07-24 09:03:22 -07:00
inline_strconv_parse_test.go
points.go buildtsi: Do not escape measurement names 2018-05-30 15:20:56 -07:00
points_internal_test.go
points_test.go buildtsi: Do not escape measurement names 2018-05-30 15:20:56 -07:00
rows.go
statistic.go
statistic_test.go
time.go
uint_support.go Add uint support into the write protocol 2017-09-19 10:44:26 -05:00