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
7cb8c2d2ec
Add build timestamp to version data
2015-09-24 23:40:53 -07:00
Cory LaNou
b1becfbcfc
more tests, simplify mapFunc signatures
2015-09-23 09:27:19 -05:00
Cory LaNou
78bc740434
full support for min/max/first/last
2015-09-23 09:03:57 -05:00
Ben Johnson
8e27cf1fd8
Merge remote-tracking branch 'upstream/master' into refactor-select-mapper
...
Conflicts:
tsdb/store.go
2015-09-22 13:58:24 -06:00
Ben Johnson
96715d7d90
rename Cursor.Seek() to Cursor.SeekTo()
2015-09-22 13:23:16 -06:00
Ben Johnson
56cb2fae5d
fix integration tests
2015-09-22 13:10:13 -06:00
Ben Johnson
649663ca15
fix tests
2015-09-22 13:10:13 -06:00
Ben Johnson
a5269e9cc7
rename direction to ascending.
2015-09-22 13:09:26 -06:00
David Norton
8bd2408320
convert SHOW TAG KEYS to distributed query
2015-09-21 11:30:51 -04:00
Cory LaNou
72f6f7d268
Merge pull request #4134 from influxdb/issue-3447
...
Refactor Points and Rows to dedicated packages
2015-09-17 15:27:48 -05:00
Philip O'Toole
f73bc6ff19
Merge pull request #4140 from influxdb/engine_config
...
Make engine configurable
2015-09-16 21:17:43 -07:00
Philip O'Toole
7b1a4e6700
Control whether each query should be logged
...
Fixes issue #4138
2015-09-16 19:26:23 -07:00
Philip O'Toole
e4fde993f1
Make engine configurable
2015-09-16 19:09:25 -07:00
Cory LaNou
d19a510ad2
refactor Points and Rows to dedicated packages
2015-09-16 15:33:08 -05:00
Cory LaNou
bf955c7c11
Merge pull request #4112 from influxdb/issue-3457
...
Period in field name that matches measurement fails. Fixes #3457
2015-09-16 09:55:43 -05:00
Philip O'Toole
afe5cc67f4
Repeat the identical time aggregate test more;
2015-09-15 16:22:25 -07:00
Cory LaNou
f02d8eef4f
unskip test
2015-09-15 16:36:11 -05:00
Cory LaNou
5395ac7634
Period in field name that matches measurement fails. Fixes #3457
2015-09-15 16:26:39 -05:00
Cory LaNou
c70b503f00
go fmt
2015-09-15 16:09:58 -05:00
Philip O'Toole
69c9f28e2d
Fix compilation error in test code
2015-09-15 11:42:58 -07:00
Philip O'Toole
76e3552a95
Increase write-timeout to 30s during testing
...
This should hopefully reduce the rate of CI failures during testing.
2015-09-15 11:35:21 -07:00
Philip O'Toole
05b2e4985f
Merge pull request #4065 from sbouchex/cmd_add_precision
...
Added precision support in cmd client
2015-09-14 16:44:23 -07:00
Michael Desa
f623701e79
Merge branch 'master' into md-stress-runner
2015-09-11 15:45:11 -07:00
Michael Desa
d85c4f7699
Cherry pick failed requests from 2d67a9e
...
Commit 2d67a9ea22
started tracking failed request. This commit cherry picks the
functionality introduced there.
2015-09-11 15:10:15 -07:00
Sébastien Bouchex Bellomié
5656ba167f
Added precision support in cmd client
2015-09-11 10:04:18 +02:00
Sébastien Bouchex Bellomié
9831ab2cc8
Added precision support in cmd client
2015-09-11 09:20:02 +02:00
Philip O'Toole
101a4d2a55
Merge pull request #4066 from influxdb/pd-fail-writes-on-memory-pressure
...
Update WAL to fail writes if pressure too high.
2015-09-10 11:27:32 -07:00
Philip O'Toole
ed917aa7f8
Log each query before execution
...
If a query causes a server to panic, the query is nowhere in the logs,
which makes debug very difficult.
2015-09-10 10:52:51 -07:00
Cory LaNou
ef17dbb492
more tests
2015-09-10 11:32:30 -05:00
Paul Dix
2d67a9ea22
Update WAL to fail writes if pressure too high.
...
If the memory gets 5x above the partition size threshold, the WAL will start returning write failures to the clients. This will allow them to backoff their write volume.
Also updated the stress script to track failed requests and output messages on failure and when it returns to success.
2015-09-09 22:41:32 -07:00
Sébastien Bouchex Bellomié
f8a827d9d2
Added precision support in cmd client
2015-09-09 22:54:57 +02:00
Cory LaNou
fa04b0ab20
add server integration tests
2015-09-09 15:46:21 -05:00
Sébastien Bouchex Bellomié
23a606bafc
Added precision support in cmd client
2015-09-09 22:17:48 +02:00
Philip O'Toole
0ea0a3a71b
Add build info to diagnostics
2015-09-09 12:43:51 -07:00
Philip O'Toole
402576bd93
Pass richer build information to Server
2015-09-09 12:36:32 -07:00
Michael Desa
70c816e236
Add optional precision setting
2015-09-09 11:21:17 -07:00
Michael Desa
551e51a643
Move `cmd/influx_stress/runner` pkg to `stress`
2015-09-09 11:21:17 -07:00
Michael Desa
c773df00ef
Add throttling of requests
2015-09-09 11:21:17 -07:00
Michael Desa
2b0b66d7d6
Add a configurable `Measurements` type
...
Previously the measurement that was getting written into InfluxDB was
hard coded in the `Run` method as `cpu`. Now you can specify a
measurements by passing an `-m` flag to `influx_stress`.
The `-m` flag accepts a comma separated list of measurements. (e.g.
`influx_stress -m cpu,mem,disk`)
2015-09-09 11:21:17 -07:00
Michael Desa
d63ac6a842
Add tests for runner.go
2015-09-09 11:21:17 -07:00
Michael Desa
35a0477f05
Add the an error to the NewCleint
...
Additionally the Config definition of the Config type was moved to just
above the definition of the NewClient Method.
2015-09-09 11:21:17 -07:00
Michael Desa
dd8413d9ac
Missed one last thing for the timer
2015-09-09 11:21:17 -07:00
Michael Desa
e29b159079
Change Timer method names to be more semantic.
...
Additionally, getter and setter method were added to the Timer type.
2015-09-09 11:21:17 -07:00
Michael Desa
1a3d6cb74a
Rename newResponseTime to NewResponseTime
2015-09-09 11:21:16 -07:00
Michael Desa
4413b302be
Fix sorting for the ResponseTimes type
...
The `sort` methods were failing as responseTimes couldn't be cast to an
[]int. To fix this `ResponseTimes` now implements the `sort.Interface`
interface.
2015-09-09 11:21:16 -07:00
Michael Desa
d54e439385
Change responseTimes to its own type
...
`responesTimes` was an []int and is now it own type
2015-09-09 11:21:16 -07:00
Michael Desa
3ae5183592
Add comments where needed
2015-09-09 11:21:16 -07:00
Michael Desa
a19e2d9f50
Rename `Runner` to `Run`
2015-09-09 11:21:16 -07:00
Michael Desa
71d8047ad3
Pull the body of influx_stress main out
...
This commit abstracts out the body of `main()` and moves it into a separate
function `Runner` in `runner/runner.go`. Additonally two new types,
`Timer` and `Config` were introduced.
`Runner` takes in a `*Config` and returns the total number of points
written `totalPoints`, an slice of response times `responseTimes`, and a
timer with the starting and ending times of the test `*Timer`.
2015-09-09 11:21:16 -07:00