Skip to content

Commit

Permalink
Merge pull request #4815 from li-ang/fix_4801
Browse files Browse the repository at this point in the history
Fix aggregate output across the cluster
  • Loading branch information
otoolep committed Nov 20, 2015
2 parents 1e9e7c2 + a712a1c commit 8ef5a05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- [#4766](https://github.com/influxdb/influxdb/pull/4766): Update CLI usage output. Thanks @aneshas
- [#4804](https://github.com/influxdb/influxdb/pull/4804): Complete lint for services/admin. Thanks @nii236
- [#4796](https://github.com/influxdb/influxdb/pull/4796): Check point without fields. Thanks @CrazyJvm
- [#4815](https://github.com/influxdb/influxdb/pull/4815): Added `Time` field into aggregate output across the cluster. Thanks @li-ang

## v0.9.5 [unreleased]

Expand Down
1 change: 1 addition & 0 deletions cluster/shard_mapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ func (r *RemoteMapper) NextChunk() (chunk interface{}, err error) {
aggValues = append(aggValues, v)
}
mo.Values = []*tsdb.MapperValue{&tsdb.MapperValue{
Time: mvj[0].Time,
Value: aggValues,
Tags: mvj[0].Tags,
}}
Expand Down

0 comments on commit 8ef5a05

Please sign in to comment.