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
Philip O'Toole
5e3fa1e80f
More tips around using systemd to start InfluxDB
...
[ci skip]
2015-09-09 13:45:26 -07:00
Philip O'Toole
a57bd2a227
Merge pull request #4062 from influxdb/opentsdb_bad_lines
...
Enhance openTSDB logging and stats
2015-09-09 13:36:46 -07:00
Philip O'Toole
d538829b4c
Enhance openTSDB logging and stats
2015-09-09 13:30:11 -07:00
Cory LaNou
59ef75a183
Allow wildcards without abandon! Fixes #3978
2015-09-09 15:27:15 -05:00
Philip O'Toole
e467226b2e
Merge pull request #4061 from influxdb/opentsdb_eof2
...
Cleanly terminate openTSDB connection on EOF
2015-09-09 13:17:49 -07:00
Sébastien Bouchex Bellomié
23a606bafc
Added precision support in cmd client
2015-09-09 22:17:48 +02:00
Philip O'Toole
fef20c77b2
Cleanly terminate openTSDB connection on EOF
...
This is not really an error, so don't log it.
2015-09-09 13:01:13 -07:00
Philip O'Toole
7a56f15d44
Merge pull request #4059 from influxdb/add_version
...
Add build information to diagnostic output
2015-09-09 12:50:31 -07: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
Philip O'Toole
e1de0c6842
Use Go 1.5 linker flag syntax
...
[ci skip]
2015-09-09 12:26:32 -07:00
Philip O'Toole
ab95274030
Add node re starting with systemd
...
[ci skip\]
2015-09-09 11:57:10 -07:00
Michael Desa
51d60bcfb1
Merge branch 'md-stress-runner' of github.com:influxdb/influxdb into md-stress-runner
2015-09-09 11:21:40 -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
c1f232b3bc
Merge pull request #4053 from influxdb/dont_delete_default
...
Prohibit dropping the default retention policy
2015-09-09 10:23:17 -07:00
Michael Desa
b83a666c56
Add optional precision setting
2015-09-09 10:20:37 -07:00
Cameron Sparr
a8c7e2ac04
Install & update systemd influxdb service
...
Closes #3989
Closes #4047
2015-09-09 10:00:48 -06:00
Philip O'Toole
a7ba677efd
Further fixes to packaging script re config sample
2015-09-09 00:51:37 -07:00
Philip O'Toole
734f424e97
Correct config file name and fix logrotate
...
[ci skip]
2015-09-09 00:46:31 -07:00
Philip O'Toole
02fcaf853d
Add node re Graphite configuration
...
[ci skip]
2015-09-08 23:22:34 -07:00
Philip O'Toole
519a30a463
Add note on openTSDB batching
...
[ci skip]
2015-09-08 23:19:17 -07:00
Philip O'Toole
3a0b4ec269
Update CHANGELOG
2015-09-08 23:02:53 -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
Paul Dix
482e00d3e3
Merge pull request #4011 from influxdb/pd-simplify-wal
...
Simplify WAL to not compact
2015-09-08 22:32:53 -07:00
Philip O'Toole
8f5f84e97b
Merge pull request #4051 from influxdb/monitor_default
...
Set default monitor store interval to 10 seconds
2015-09-08 20:46:34 -07:00
Philip O'Toole
70607836e1
Set default monitor store interval to 10 seconds
2015-09-08 20:37:15 -07:00
Philip O'Toole
7bad518c8c
Merge pull request #4006 from influxdb/add_instrumentation
...
Basic instrumentation for shards
2015-09-08 19:57:17 -07:00
Philip O'Toole
0b3d7fd459
Update CHANGELOG
2015-09-08 19:56:59 -07:00
Philip O'Toole
3db9cc9b76
Basic instrumentation for shards
2015-09-08 19:56:42 -07:00
Philip O'Toole
2b0a40e262
Merge pull request #4007 from influxdb/instrument_bz1
...
Basic instrumentation for bz1 engine
2015-09-08 19:56:06 -07:00
Philip O'Toole
02a54d0992
Merge pull request #4042 from influxdb/buffered_batcher
...
Add pending control to batcher
2015-09-08 19:48:49 -07:00
Philip O'Toole
78f4a6944b
Merge pull request #4045 from influxdb/writer_stats
...
Add stats to PointsWriter
2015-09-08 19:38:45 -07:00