Commit Graph

7724 Commits (205c7674f65023235a36f378234450568bc018be)

Author SHA1 Message Date
Cory LaNou 205c7674f6 add drop server tests 2015-10-01 15:39:14 -05:00
Cory LaNou 3c74c13908 add drop server statement 2015-10-01 15:39:14 -05:00
Jason Wilder 54ff1990bd Merge pull request #4292 from influxdb/jw-derivative
Handle missing values in aggregate derivative queries better
2015-10-01 13:45:46 -06:00
Philip O'Toole 5e72fec32c Update sample config with HH retry-max-interval
[ci skip]
2015-10-01 12:20:35 -07:00
Philip O'Toole 0a63bb1883 Merge pull request #4284 from influxdb/hh_backoff
Exponential hinted-handoff interval on fail
2015-10-01 12:13:56 -07:00
Jason Wilder 06c143c2dd Handle missing values in aggregate derivative queries better
If an aggregate derivative query did not have a value in the first
time bucket, it would abort early and return a single row with value
of 0.  Similarly, if either the current or previous value was nil,
it would skip the row and not append any values causing gaps and
no data to show up.

Instead, this will append a nil value if either the current or previous
valis is nil.  This essentially allows nil values to carry through the
results as well as gives a more sensible value for rows where we cannot
compute a difference (instead of dropping the row as before).

Fixes #4237 #4263
2015-10-01 13:05:19 -06:00
Philip O'Toole 8a1e5a9e53 Clamp initial value of HH retry interval
This could happen due to misconfiguration, so do something sensible in
that case.
2015-10-01 12:04:33 -07:00
Philip O'Toole c7599e0409 Update CHANGELOG
[ci skip]
2015-10-01 11:56:20 -07:00
Philip O'Toole 878f776403 Exponential backoff if any hinted-handoff fails 2015-09-30 21:27:13 -07:00
Philip O'Toole 4eba2c1725 Add config support for max HH retry interval 2015-09-30 21:10:03 -07:00
Michael Desa 970094d4a3 Merge pull request #4168 from influxdb/md-stress-config
Make stress test configurable by toml file
2015-09-30 16:57:11 -07:00
Philip O'Toole 66d3ef1ce0 shard-writer-timeout defaults to 2x write-timeout
[ci skip]
2015-09-30 16:56:23 -07:00
Michael Desa 027da3dbb4 Add examples folder 2015-09-30 15:55:09 -07:00
Michael Desa 48ad59c38b Stop using influx client to write points 2015-09-30 15:55:09 -07:00
Michael Desa f056753afe Add moderate burn test
First pass at constructing points myself
2015-09-30 15:55:07 -07:00
Michael Desa d6027071d2 Add optional jitter to timestamps 2015-09-30 15:55:07 -07:00
Michael Desa 293fad1e20 Add note about buffer time and change example_2 2015-09-30 15:55:07 -07:00
Michael Desa 8a76e7db78 Add comments and tests 2015-09-30 15:55:07 -07:00
Michael Desa ee9c78735e Add configurable channel buffer size 2015-09-30 15:55:07 -07:00
Michael Desa 857f99b05b Increase buffer size for points
Add lower
2015-09-30 15:55:07 -07:00
Michael Desa ecb9bd9592 Add support for stress test under query load 2015-09-30 15:55:07 -07:00
Michael Desa 2465dbc788 Add high performance stress test example
First round at adding query load

Working draft:

Not happy with things, but it works
2015-09-30 15:55:07 -07:00
Michael Desa 248a2731fa Change variable names 2015-09-30 15:55:07 -07:00
Michael Desa 5901c71be8 Fix long test time 2015-09-30 15:55:07 -07:00
Michael Desa acde283271 Decouple generating points from writing them 2015-09-30 15:55:06 -07:00
Michael Desa 22a6f79a3c Add support for `tag_count` config option
It is now possible to configure arbitrarily many tags in a generic
format. That is specifying the config option `tag_count=10` will add 10
tags to a series that are of the form `tag-key-n=tag-value` where n
ranges from 0 to 9.

Save current state
2015-09-30 15:55:06 -07:00
Michael Desa 03f291d78c Add comments and shuffle var declarations 2015-09-30 15:55:06 -07:00
Michael Desa fdfb039a44 Allow configuration via config file or flags
Note that config file takes precedence to flags
2015-09-30 15:55:06 -07:00
Michael Desa 12c0625af2 Remove comment about off by one bug 2015-09-30 15:55:06 -07:00
Michael Desa 4e587b4622 Add comment to example toml file 2015-09-30 15:55:06 -07:00
Michael Desa c3783f9aa4 Fix off-by-one bug 2015-09-30 15:55:06 -07:00
Michael Desa 9d88161a7b Fix broken tests 2015-09-30 15:55:06 -07:00
Michael Desa f738ef5d8d Remove commented struct fix comments for godoc 2015-09-30 15:55:06 -07:00
Michael Desa 48dde6b16c Add support for config file 2015-09-30 15:55:06 -07:00
Michael Desa 911623f5f6 Add quick notes 2015-09-30 15:55:06 -07:00
Michael Desa e608e9b79b Add stress
First pass at running stress test from a toml
2015-09-30 15:55:06 -07:00
Michael Desa e43b60b8e1 Add example config for stress test 2015-09-30 15:55:06 -07:00
Jason Wilder 5574c61cdf Update changelog 2015-09-30 16:47:40 -06:00
Jason Wilder 6dcd8d71a1 Merge pull request #4149 from peekeri/derivative_fix
influxql: when using derivative, check 'group by time' instead of 'where time ...'
2015-09-30 16:44:54 -06:00
Philip O'Toole 83f0d9b829 Merge pull request #4278 from influxdb/error_marshalling
Fix cluster-level error marshalling
2015-09-30 13:18:51 -07:00
Philip O'Toole 591e33b1d8 Initial work, does not address issue 2015-09-30 11:58:42 -07:00
Philip O'Toole 1daf665a1d influxdb user removed by purge
[ci skip]
2015-09-29 15:53:07 -07:00
Ben Johnson a754462e20 Merge pull request #4264 from benbjohnson/map-fn
Refactor map functions to use list of values
2015-09-29 14:00:48 -06:00
Ben Johnson 343dd23ee7 refactor map functions to use list of values
This commit changes `tsdb.mapFunc` to use `tsdb.MapInput` instead
of an iterator. This will make it easier and faster to pass blocks
of values from the new storage engine into the engine.
2015-09-29 14:00:33 -06:00
Philip O'Toole f79377b488 Merge pull request #4266 from lenko-d/make_code_golintable-#4098
Changes to make the cluster sub package golint-able
2015-09-29 10:49:56 -07:00
Mint 9c6da2417e Fixed comments.
Issue: Enable golint on the code base #4098 (changes only for the cluster subpackage)

- [ ] CHANGELOG.md updated
- [X] Rebased/mergable
- [X] Tests pass
- [X] Sign [CLA](http://influxdb.com/community/cla.html) (if not already signed)
2015-09-28 23:38:21 -05:00
Philip O'Toole 82f866702a Remove obsolete comment 2015-09-28 20:56:43 -07:00
Mint 3cbc1936e5 Changes to make the cluster sub package golint-able
Issue: Enable golint on the code base #4098
2015-09-28 21:40:58 -05:00
Philip O'Toole a196644167 Merge pull request #4265 from influxdb/hh_stats
Add statistics for hinted handoff
2015-09-28 19:16:06 -07:00
Philip O'Toole 17cc2220b8 Update CHANGELOG 2015-09-28 18:39:42 -07:00