Commit Graph

7662 Commits (f37df1133920e54890a36e65c363caf8bd6b4949)

Author SHA1 Message Date
Philip O'Toole 8667226c05 Merge pull request #4070 from influxdb/log_query
Log each query before execution
2015-09-10 11:24:47 -07:00
Cory LaNou 7f2ba8155a removing unecessary continues 2015-09-10 13:10:21 -05:00
Cory LaNou 05f69b3d6c Validate Dimension for proper time scenarios. Fixes #3902 2015-09-10 13:10:21 -05: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
Ben Johnson 3b8437c632 Merge pull request #4058 from benbjohnson/no-recompress
Disable bz1 recompression
2015-09-10 11:26:41 -06:00
Ben Johnson 733fa0a109 disable bz1 recompression
This commit only appends new blocks of points and disables checks for
recompressing small blocks at the end of a series.
2015-09-10 11:26:29 -06:00
Cory LaNou 2d667298f3 Merge pull request #4063 from influxdb/issue-3978
Allow wildcards with fields! Fixes #3978
2015-09-10 12:00:16 -05: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
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