Merge pull request #6942 from influxdata/js-cache-panic-fix
Truncate the slice when merging the cachespull/6919/head
commit
51954a08a9
|
@ -79,7 +79,8 @@ With this release the systemd configuration files for InfluxDB will use the syst
|
|||
- [#6738](https://github.com/influxdata/influxdb/issues/6738): Time sorting broken with overwritten points
|
||||
- [#6829](https://github.com/influxdata/influxdb/issues/6829): Fix panic: runtime error: index out of range
|
||||
- [#6911](https://github.com/influxdata/influxdb/issues/6911): Fix fill(previous) when used with math operators.
|
||||
- [#6934](https://github.com/influxdata/influxdb/issues/6934): Fix regex binary encoding for a measurement.
|
||||
- [#6934](https://github.com/influxdata/influxdb/pull/6934): Fix regex binary encoding for a measurement.
|
||||
- [#6942](https://github.com/influxdata/influxdb/pull/6942): Fix panic: truncate the slice when merging the caches.
|
||||
|
||||
## v0.13.0 [2016-05-12]
|
||||
|
||||
|
|
|
@ -419,6 +419,7 @@ func (c *Cache) merged(key string) Values {
|
|||
n += copy(values[n:], e.values)
|
||||
e.mu.RUnlock()
|
||||
}
|
||||
values = values[:n]
|
||||
|
||||
if needSort {
|
||||
values = values.Deduplicate()
|
||||
|
|
Loading…
Reference in New Issue