Commit Graph

9349 Commits (66672e787f91556f77e06737d4af17816fa9f654)

Author SHA1 Message Date
Ross McDonald 66672e787f Merge pull request from influxdata/ross-statik-documentation-link-fix
Fixed incorrect documentation link in admin UI
2016-02-11 13:08:14 -06:00
Jason Wilder c8b41d1b56 Update changelog
[ci skip]
2016-02-11 11:45:39 -07:00
Jason Wilder db9a14b65e Merge pull request from bsideup/reduce_percentile_optimizations
Optimize ReducePercentile method
2016-02-11 11:43:52 -07:00
Sergei Egorov eef0e41a7e Optimize ReducePercentile method: do not call len() twice + move sorting after index check 2016-02-11 20:05:34 +02:00
Ross McDonald 51758cff25 Switched 0.9 references to 0.10. 2016-02-11 08:44:45 -06:00
Todd Persen 8d7a4a9acc Update CHANGELOG.md 2016-02-10 22:38:17 -08:00
Todd Persen d5761d833f Merge branch 'alexiri-version' 2016-02-10 22:30:32 -08:00
Todd Persen cb1b1859fe Fix conflicts and split out client/server version. 2016-02-10 22:30:19 -08:00
Ross McDonald b5247cd1d4 Merge pull request from influxdata/ross-config-update
Updated sample configuration for new meta service options
2016-02-10 17:38:59 -06:00
Edd Robinson 7ff67db776 Merge pull request from influxdata/er-cq-typo
Tidy up README
2016-02-10 23:38:48 +00:00
Jason Wilder 8ce831eba4 Update changelog
[ci skip]
2016-02-10 15:58:20 -07:00
Jason Wilder 2e829cb356 Merge pull request from PSUdaemon/client_lint_fixes
Fix golint warnings.
2016-02-10 15:56:06 -07:00
Phil Sorber a23f727d3c Fix golint warnings. 2016-02-10 15:00:25 -07:00
Ben Johnson 0b3d367e5c Merge pull request from influxdata/jw-query-panic
Fix panic: runtime error: index out of range
2016-02-10 14:59:04 -07:00
Ben Johnson f27cef7b71 Merge pull request from benbjohnson/influxdata
Fix additional influxdata renames
2016-02-10 14:57:32 -07:00
Jonathan A. Sternberg 31cbc3eef8 Merge pull request from li-ang/rm_empty_file
Remove empty test file
2016-02-10 16:38:00 -05:00
Jason Wilder 26dafa68ac Update changelog
[ci skip]
2016-02-10 14:34:20 -07:00
Jason Wilder 8ebcfd9459 Merge pull request from nuss-justin/golint/tsdb
Lint tsdb and tsdb/engine package
2016-02-10 14:32:50 -07:00
Jason Wilder 2498dd20cc Merge pull request from farshidtz/patch-1
Updated queryDB func
2016-02-10 14:27:56 -07:00
Ben Johnson 50616f0a47 fix additional influxdata renames 2016-02-10 14:19:42 -07:00
Jason Wilder 0ce6dd1304 Fix panic: runtime error: index out of range
There was a fix in 5b1791, but is not present in the current branch likely due to a rebase issue.
The current code panics with a query like:

select value from cpu group by host order by time desc limit 1

This fixes the panic as well as prevents  from re-occurring.  The issue is that agressively
closing the cursors clears out the seeks slice so re-seeking will fail.
2016-02-10 14:00:58 -07:00
liang@qiniu.com 47fa63073a Remove empty test file 2016-02-11 04:56:27 +08:00
Justin Nuß 82c276756a Lint tsdb and tsdb/engine package 2016-02-10 21:33:46 +01:00
Ben Johnson 2f1e83427b Merge pull request from benbjohnson/influxdata
Rename influxdb/influxdb to influxdata/influxdb
2016-02-10 13:29:46 -07:00
Jason Wilder 045fdaa4c7 Remove incorrect changlog entry
 will be in 0.11.  Not in 0.10.

Fixes 

[ci skip]
2016-02-10 13:07:44 -07:00
Jason Wilder 8a39123ed2 Update changelog
[ci skip]
2016-02-10 12:13:46 -07:00
Jason Wilder a51af5c112 Merge pull request from PSUdaemon/client_ping
Add Ping() to v2 client.
2016-02-10 12:11:42 -07:00
Ben Johnson d9a6a7340f add canonical paths 2016-02-10 11:30:52 -07:00
Jason Wilder 2212c32108 Merge pull request from jonseymour/typo
typo: databse -> database
2016-02-10 11:04:39 -07:00
Ben Johnson 5a0d1ab7c1 rename influxdb/influxdb to influxdata/influxdb
This commit changes all the import and URL references from:

    github.com/influxdb/influxdb

to:

    github.com/influxdata/influxdb
2016-02-10 10:26:18 -07:00
Ben Johnson 29c2dbc623 Merge pull request from benbjohnson/query-engine
Query Engine
2016-02-10 09:54:26 -07:00
Jonathan A. Sternberg d79eb29a23 Add documentation comments to influxql.Series and influxql.SeriesList 2016-02-10 09:40:31 -07:00
Jonathan A. Sternberg 98810a363a Correct the AuxIterator test and adding some additional locks
The additional locks shouldn't be necessary due to how the code is used,
but should prevent any potential data races in case we accidentally do
something bad.
2016-02-10 09:40:31 -07:00
Jonathan A. Sternberg ed151598ff Modify the AuxIterator to include a Start method
The AuxIterator streams points to the underlying iterators. When it
started automatically, race conditions occurred between the stream
closing the iterators and creating iterators from the AuxIterator.
2016-02-10 09:40:30 -07:00
Ben Johnson b3d5aa82b7 improve performance of LIMIT with no dimensions 2016-02-10 09:40:30 -07:00
Jonathan A. Sternberg 2e7cf5328c Fix go vet issues on 1.4
go 1.5 was being used to develop the query engine branch, but we aren't
using 1.5 for master at the moment. This fixes issues that go vet brings
up in 1.4 that don't exist in 1.5.
2016-02-10 09:40:30 -07:00
Jonathan A. Sternberg ae2d894671 Improved influxql package code coverage to 70% 2016-02-10 09:40:30 -07:00
Ben Johnson 5c33b9d786 remove Mapper test references 2016-02-10 09:40:30 -07:00
Ben Johnson d1b9e7048f InfluxQL README 2016-02-10 09:40:30 -07:00
Jonathan A. Sternberg dd3c75ef1c Remove a bad query test from the integration tests
We no longer throw this error and an empty result is appropriate since
there are no values in that interval.
2016-02-10 09:40:30 -07:00
Jonathan A. Sternberg 5c9cdd05c2 Modify the fill iterator to not produce empty name/tags for a time range
If a name/tag combination does not have any points in the time range at
all, fill will not generate points for it.
2016-02-10 09:40:30 -07:00
Jonathan A. Sternberg 5b756e0fbe Improve test coverage in influxql package 2016-02-10 09:40:29 -07:00
Jonathan A. Sternberg 43f34481e1 Fixed the final two failing tests in influxql 2016-02-10 09:40:29 -07:00
Jonathan A. Sternberg d1f7c445e7 Modify iterators to work across shards
Aux iterators now ask the iterator creator what series will be returned
and determine which aux fields to create based on the results.

The `tsdb.Shards` struct also creates a call iterator around the
iterators returned from each shard.
2016-02-10 09:40:29 -07:00
Ben Johnson 08f823546d fix rebase issue 2016-02-10 09:40:29 -07:00
Ben Johnson 32be4c250f fix non-existent shard handling
This commit removes `nil` shards returned from `tsdb.Store.Shards()`
which caused panics in some SELECTs. This can occur if the meta
store has created shards before the store or if the shards are
distributed throughout a cluster.

Fixes 
2016-02-10 09:40:29 -07:00
Jonathan A. Sternberg c2d1206177 Implement the fill iterator
Fill requires an additional function for IteratorCreator to retrieve the
series that will be returned from the iterator. When fill is required
for an aggregate, the IteratorCreator will be asked what series will be
returned by the created iterator.
2016-02-10 09:40:29 -07:00
Ben Johnson 627cd9d486 add dedupe iterator 2016-02-10 09:40:29 -07:00
Jonathan A. Sternberg 21d2a4c3de Sort MergeIterator by tags after name and before the window 2016-02-10 09:40:28 -07:00
Ben Johnson 47c2bab74b add SHOW TAG KEYS support 2016-02-10 09:40:28 -07:00