Skip to content

Commit

Permalink
Return nil when we're supposed to stop processing points.
Browse files Browse the repository at this point in the history
Fix #821
  • Loading branch information
toddboom authored and jvshahid committed Oct 27, 2014
1 parent 225e9ad commit 6eb6e6a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
## V0.8.4-rc.2 [unreleased]
## v0.8.5 [unreleased]

### Bugfixes

- [Issue #821](https://github.com/influxdb/influxdb/issues/821). Don't
scan through points when we hit the limit

## v0.8.4-rc.2 [2014-10-24]

### Bugfixes

Expand Down
1 change: 1 addition & 0 deletions datastore/shard.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ func (self *Shard) executeQueryForSeries(querySpec *parser.QuerySpec, name strin
log.Error("Error while processing data: %v", err)
return err
}
return nil
}
seriesOutgoing = &protocol.Series{Name: protocol.String(name), Fields: columns, Points: make([]*protocol.Point, 0, self.pointBatchSize)}
}
Expand Down

0 comments on commit 6eb6e6a

Please sign in to comment.