Commit Graph

9390 Commits (5a61bdad704d99a2510119029d28c66b1f467471)

Author SHA1 Message Date
Mark Rushakoff 5a61bdad70 Move monitor.Diagnostics to its own package
I was trying to create a Diagnostics Client in the tsdb package, but
IIRC importing `monitor` caused an import cycle of:
tsdb -> monitor -> cluster -> tsdb.

Moving Diagnostics to its own package will allow further use of
diagnostics.Client without running into import cycles.
2016-02-13 14:56:15 -08:00
Jason Wilder 8e100998fa Merge pull request #5659 from influxdata/jw-vet
Fix go vet
2016-02-12 14:50:30 -07:00
Jonathan A. Sternberg 447db9d219 Merge pull request #5641 from jsternberg/js-fill-implicit-end
Pass the implicit end time from the query executor to the select call
2016-02-12 16:43:39 -05:00
Jonathan A. Sternberg 559a11d0ab Pass the implicit end time from the query executor to the select call
The select call and the query executor would both calculate the time
range, but in separate ways. The query executor needed some way to pass
in the implicit end time that is placed there by the query executor.

Fixes #5636.
2016-02-12 16:03:24 -05:00
Jason Wilder 24dd5ef0ee Fix go vet 2016-02-12 13:55:41 -07:00
Jonathan A. Sternberg c267e1eb5a Merge pull request #5652 from influxdata/js-5640-derivative-iterator
Support derivative() call for integer fields in the new query engine
2016-02-12 14:59:35 -05:00
Jason Wilder ef571fc104 Merge pull request #5602 from influxdata/cluster-startup
Simplify cluster startup for scripting and deployment
2016-02-12 12:23:40 -07:00
Jason Wilder cd568548fd Fix race in peerStore 2016-02-12 12:06:23 -07:00
Jack Zampolin 30a31d3acf Merge pull request #5654 from influxdata/jz-delete-from
Remove DELETE FROM from query spec
2016-02-12 10:47:57 -08:00
Cory LaNou 7ad31fa6ab address pr feedback 2016-02-12 11:35:20 -07:00
Jason Wilder ddcfac7e8e Remove peers.json
No longer needed now that peers are pull from the meta nodes.
2016-02-12 11:35:20 -07:00
Cory LaNou 1b25c0cb80 ask for a free port immediatly before using to prevent it being returned to the available pool 2016-02-12 11:35:19 -07:00
Cory LaNou 52077b2dfc fix race condition 2016-02-12 11:35:19 -07:00
Cory LaNou e9a2c33556 give less time to lose lease on random port for test 2016-02-12 11:35:19 -07:00
Cory LaNou df5d587105 make meta test suite less racy 2016-02-12 11:35:19 -07:00
Cory LaNou 360f40561e misc fixes and changelog 2016-02-12 11:35:19 -07:00
Cory LaNou 92e8516660 specify raft bind address with real random ports 2016-02-12 11:35:19 -07:00
Cory LaNou 7e62201793 specify bind address meta test 2016-02-12 11:35:19 -07:00
Cory LaNou b17293f75c fix data race 2016-02-12 11:35:19 -07:00
Cory LaNou f861d5811e fix adhoc joining of cluster 2016-02-12 11:35:19 -07:00
Cory LaNou 807354f195 passing test suite... hopefully 2016-02-12 11:32:53 -07:00
Cory LaNou d9f1df0ecf sane cluster starting with join args 2016-02-12 11:32:53 -07:00
Jason Wilder e1effa6601 fix build after rebase on master 2016-02-12 11:32:53 -07:00
Edd Robinson b7ad1bc7fa Merge pull request #5649 from influxdata/er-update-cla
Update link to CLA
2016-02-12 18:22:23 +00:00
Jack Zampolin 014bbd3ef9 Remove DELETE FROM from query spec 2016-02-12 10:10:47 -08:00
Gunnar 5a7b695bba Merge pull request #5645 from influxdata/ga-readme
Update README for 0.10
2016-02-12 09:47:41 -08:00
Jonathan A. Sternberg 42b9166000 Support derivative() call for integer fields in the new query engine
Fixes #5640.
2016-02-12 11:36:59 -05:00
joelegasse b273980bc1 Merge pull request #5644 from influxdata/jl-auth-cache
Update authentication cache to work for clusters
2016-02-12 08:21:33 -05:00
Joe LeGasse 1852814612 Update authentication cache to work for clusters
Also removed unused code and duplicated test code
2016-02-12 07:16:57 -05:00
Edd Robinson e808b5c514 Update link to CLA 2016-02-12 10:42:54 +00:00
gunnaraasen 627e6e4255 Update README for 0.10 2016-02-11 16:51:33 -08:00
Jonathan A. Sternberg b70d83af6a Merge pull request #5633 from seiflotfy/fix5630
Make sure parenthesized SELECT arguments are evaluated properly without panic
2016-02-11 18:57:34 -05:00
Seif Lotfy 18f22a22fb Make sure parenthesized SELECT arguemnts are evaluated properly without panic
Fixes #5630
2016-02-11 17:41:33 -06:00
Jonathan A. Sternberg 5ead47527c Merge pull request #5643 from influxdata/js-5571-math-on-derivative
Clear the start and end times for derivative calls
2016-02-11 17:06:26 -05:00
Jonathan A. Sternberg f5d8a4a6c0 Clear the start and end times for derivative calls
Derivatives rely on the underlying iterator to handle start and end
times. They do not perform them or organize points into groups. In
certain circumstances, the start time or end time that got implicitly
passed could be on an uneven interval with the first point returned by
the aggregate, which caused the entire iterator not to be read.

This fixes #5571.
2016-02-11 16:17:15 -05:00
Jason Wilder 4da50df1c1 Merge pull request #5642 from influxdata/jw-cleanup
Remove printlns in tests
2016-02-11 14:03:10 -07:00
Jonathan A. Sternberg 846ab5da8a Merge pull request #5639 from influxdata/js-fix-fill-casting
Cast number fill values for the fill iterator
2016-02-11 15:59:05 -05:00
Jason Wilder 948ccfc7b1 Remove printlns in tests 2016-02-11 13:34:33 -07:00
Jason Wilder 692ff5b2d9 Merge pull request #5170 from influxdata/tsdb-misc-cleanup
Miscellaneous cleanup in tsdb package
2016-02-11 13:28:54 -07:00
Jonathan A. Sternberg 73ee204fbc Cast number fill values for the fill iterator
Querying an integer field with a fill value will cause a cast error
because the underlying type is a float64 rather than an int64. Add a
function that will coerce the value to the correct type.

It may be more appropriate in the future to have the fill iterator read
the underlying iterator and cast to the appropriate type rather than
coerce the fill value to the correct type, but this solution works for
our current scenario well.
2016-02-11 15:21:50 -05:00
Ross McDonald 66672e787f Merge pull request #5615 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 #5510 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
Mark Rushakoff fc9ab7a46f Miscellaneous cleanup in tsdb package
* When possible, initialize maps/slices to exact length/capacity
  * See slice benchmarks at
    https://gist.github.com/mark-rushakoff/b5650bd8f06bece0b9fd
* Fixed some typos
* Removed an unnecessary loop in stringset.intersect
2016-02-10 18:00:47 -08:00
Ross McDonald b5247cd1d4 Merge pull request #5595 from influxdata/ross-config-update
Updated sample configuration for new meta service options
2016-02-10 17:38:59 -06:00