Ben Johnson
a5269e9cc7
rename direction to ascending.
2015-09-22 13:09:26 -06: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
Michael Desa
d57771dc17
Add Timer type that keeps track of start & end
2015-09-09 11:21:16 -07:00
Michael Desa
8b89332029
Add new file `runner.go`
2015-09-09 11:21:16 -07:00
Philip O'Toole
ca07b86254
Prohibit dropping the default retention policy
...
This is to prevents users from putting their system into an awkward
state. It is a policy that all databases must have at least a default
retention policy.
Fixes issue #3699 .
2015-09-08 23:00:19 -07:00
Cory LaNou
62e9c24b25
fixes #3926
2015-09-08 14:15:48 -05:00
Jason Wilder
77d310337c
Clarify comment
2015-09-08 11:05:39 -06:00
Jason Wilder
dabb01691e
Close server is reverse order that it was started
...
The server was closing by stopping the most depended on services first
which causes various panics while higher level services are still processing
task when the server closes.
Fixes #3881
2015-09-08 11:04:00 -06:00
Philip O'Toole
bbc103305b
Support multiple Graphite inputs
...
Fixes issue #3636
2015-09-06 21:33:46 -07:00
Jason Wilder
b8da247b08
Open monitor server after metastore is ready
2015-09-05 09:06:51 -06:00
Jason Wilder
13dbc8f0ba
Merge pull request #3841 from influxdb/jw-file-utils
...
Add inspect tool
2015-09-04 14:12:05 -06:00