Commit Graph

5371 Commits (4fbdba6805456562a50bf1c1319a4b7b7af7d721)

Author SHA1 Message Date
Todd Persen 619d8ac97b Merge pull request #2390 from neonstalwart/running-mean
add test for large mean aggregations
2015-04-22 13:58:06 -07:00
Cory LaNou 39da05ba6b Merge pull request #2393 from influxdb/hostname-localhost-fix
Fix hostname defaults
2015-04-22 14:15:19 -06:00
Cory LaNou efcdfabd3a update changelog 2015-04-22 12:10:20 -06:00
Cory LaNou 7b2019fbb0 Fix hostname defaults 2015-04-22 12:00:51 -06:00
Jason Wilder ad88051e1a Merge pull request #2384 from influxdb/jw-int-tests
Make sure cluster tests actually created a cluster before running
2015-04-22 10:52:36 -06:00
ben hockey 91db81f374 calculate mean without causing overflow 2015-04-22 11:40:16 -05:00
ben hockey aa3683c260 add test for large mean aggregations 2015-04-22 11:40:16 -05:00
Jason Wilder dee4d52c3f Make sure cluster tests actually created a cluster before running 2015-04-22 10:37:35 -06:00
Philip O'Toole b2b60532f1 Merge pull request #2383 from influxdb/serve_shard
Add HTTP endpoint that serves a requested shard
2015-04-22 09:33:35 -07:00
Philip O'Toole 68ba7ba005 Merge pull request #2387 from influxdb/no_local_shard_stats
There are no stats for non-local shards
2015-04-22 09:30:49 -07:00
Philip O'Toole e75e6a9526 Add HTTP endpoint that serves a requested shard
With this change a datanode can stream the requested shard to the
client. An error is returned if the shard does not exist or the the
shard is not local to that node.

1 data node can hit this endpoint to request data for a given shard if
the data no longer resides on the broker.
2015-04-22 09:29:19 -07:00
Jason Wilder 36169fa9e2 Merge pull request #2386 from influxdb/jw-stats
Fix shard datanodes stats getting appended too many times
2015-04-22 10:08:31 -06:00
Jason Wilder 862f737f26 Update changelog 2015-04-22 09:57:19 -06:00
Philip O'Toole 52f968fbc4 There are no stats for non-local shards 2015-04-22 08:47:08 -07:00
Philip O'Toole 5b8e0868ca Merge pull request #2342 from segfault/segfault-graphite-error-msg
graphite: log the field name when we encounter a value parse failure
2015-04-22 08:18:03 -07:00
Jason Wilder efa87633fa Fix shard datanodes stats getting appended too many times 2015-04-21 23:48:12 -06:00
Philip O'Toole 31264ac6d9 Merge pull request #2385 from influxdb/dump_stats_on_fail
Dump cluster stats on test failure
2015-04-21 22:39:13 -07:00
Philip O'Toole 8141da34c4 Dump cluster stats on test failure 2015-04-21 22:31:12 -07:00
Philip O'Toole 20ee9e32eb Merge pull request #2376 from influxdb/diags_types
Encode all integer types
2015-04-21 20:37:11 -07:00
Mark Guzman b689231183
graphite: log the field name when we encounter a value parse failure
The java metrics library will dump anything and everything to graphite leading to many error messages like:

[graphite] 2015/04/19 10:11:46 unable to parse data: strconv.ParseFloat: parsing "[J@4deff1ac": invalid syntax
[graphite] 2015/04/19 10:11:46 unable to parse data: strconv.ParseFloat: parsing "[J@5b8c4bb5": invalid syntax

It makes sense to include the name field given that the graphite parsing code has already validated the name and tags by the time the value is parsed.
The field name can then be used to filter the offending field from the stats publish.

The ParseFloat related error messages have been modified such they include the field name and the value that was being parsed (value|timestamp).
2015-04-21 23:16:30 -04:00
Philip O'Toole 36954b2506 Update CHANGELOG 2015-04-21 19:30:27 -07:00
Philip O'Toole 554b581060 Explicitly unit-test negative values 2015-04-21 19:30:24 -07:00
Philip O'Toole c855549973 Add shard path to first diag value
Fix issue #2369
2015-04-21 19:19:08 -07:00
Philip O'Toole 92899c3715 Add integration test to sanity check diags 2015-04-21 19:19:08 -07:00
Jari Takkala cc9689c691 Handle int and int32 types correctly. 2015-04-21 19:19:08 -07:00
Jason Wilder 6d6db1fb2b Merge pull request #2375 from influxdb/jw-int-tests
Print CPU and GOMAXPROCS when running integration tests
2015-04-21 16:51:08 -06:00
Philip O'Toole b50c503518 Merge pull request #2373 from influxdb/control_http_loggign
Actually allow HTTP logging to be enabled
2015-04-21 15:35:43 -07:00
Jason Wilder 6590653528 Print CPU and GOMAXPROCS when running integration tests
Hopefully make it easier to reproduce the test env locally.
2015-04-21 16:35:10 -06:00
Philip O'Toole 5ff1bd1f87 Skip partial-replication test 2015-04-21 15:21:25 -07:00
Philip O'Toole df7ed03cd4 Actually allow HTTP logging to be enabled 2015-04-21 15:21:21 -07:00
Cory LaNou 9824585a43 Merge pull request #2372 from influxdb/graphite-data-race
Fix race condition in graphite endpoints
2015-04-21 15:47:30 -06:00
Cory LaNou 3355bdf810 update changelog [ci skip] 2015-04-21 15:43:20 -06:00
Cory LaNou ff24d0a00e fix race condition in graphite endpoints 2015-04-21 15:42:25 -06:00
Jason Wilder 9993c0dab3 Merge pull request #2371 from influxdb/2352
Don't set client to nil when closing broker
2015-04-21 15:37:40 -06:00
Cory LaNou ec990771e4 Merge pull request #2370 from influxdb/tsdb-data-race
Fix data race for openTSDB listener addr
2015-04-21 15:33:18 -06:00
Cory LaNou 5ec039034e update changelog [ci skip] 2015-04-21 15:32:00 -06:00
Cory LaNou c5790abe84 fix data race for openTSDB listener addr 2015-04-21 15:26:11 -06:00
Jason Wilder ca845ad119 Don't set client to nil when closing broker
Fixes 2352
2015-04-21 15:18:07 -06:00
Philip O'Toole 4cc106887c RC26 is out
[ci skip]
2015-04-21 14:09:20 -07:00
Cory LaNou 5203e7f426 Merge pull request #2367 from influxdb/localhost-2350
Always use localhost, not host name
2015-04-21 14:29:45 -06:00
Cory LaNou 3a83c6e9ec new config should not set host name 2015-04-21 13:49:20 -06:00
Cory LaNou bf087eb561 changelog 2015-04-21 13:49:20 -06:00
Cory LaNou ae43e0c8b2 always use localhost, not host name 2015-04-21 13:48:42 -06:00
Jason Wilder fbf9cdbfeb Merge pull request #2353 from influxdb/2272-fix
Distributed Query/Clustering Fixes
2015-04-21 13:45:31 -06:00
Jason Wilder 2975a9d450 Update changelog
Fix #2353 #2348 #2343 #2334 #2272
2015-04-21 13:42:03 -06:00
Jason Wilder 38628e540b Make drop database close and release resources
Drop database did not close any open shard files or close
any topic reader/heartbeats.  In the tests, we create and drop new
databases during each test run so these were open files and connection
slowed things down and consumed a lot of RAM as the tests progressed.
2015-04-21 13:39:58 -06:00
Jason Wilder 25a43a8f11 Change 6 node test to 5 node 2015-04-21 13:39:58 -06:00
Jason Wilder 406a951718 Fix comments 2015-04-21 13:39:58 -06:00
Jason Wilder 90e3059a8b Fix processRawQuery from returning duplicate data 2015-04-21 13:39:58 -06:00
Jason Wilder f5a8227077 Fix cluster join
New data nodes would never actually join the cluster.  They would
pose as server ID 1 in a cluster.
2015-04-21 13:39:58 -06:00