Commit Graph

5196 Commits (30b56cea0383f7c72b5be5574a08da63750b9dc8)

Author SHA1 Message Date
Cory LaNou 6c0bfb5a43 make all integration tests safe to run in parallel 2015-04-17 16:18:28 -07:00
Philip O'Toole f349c23964 Should be no need to wait 60 seconds
Each of these tests relies on a write of only a few points. It simply
should not take 60 seconds.
2015-04-17 16:18:28 -07:00
Philip O'Toole 411ce965db Don't hammer the server during testing 2015-04-17 16:18:28 -07:00
Philip O'Toole f2bb6fe82b Update CHANGELOG 2015-04-17 16:18:28 -07:00
Philip O'Toole 969b8c4d70 Don't log HTTP accesses during testing 2015-04-17 16:18:28 -07:00
Philip O'Toole a3fbba33da Allow control of HTTP logging 2015-04-17 16:18:28 -07:00
dgnorton e890468b48 Merge pull request #2326 from influxdb/fix-2286
fix #2286: parse error on CREATE CONTINUOUS QUERY
2015-04-17 17:00:03 -04:00
David Norton 86db3574ad fix #2286: parse error on CREATE CONTINUOUS QUERY 2015-04-17 16:40:29 -04:00
Jason Wilder 7e1303f8ae Merge pull request #2325 from influxdb/cluster-open
Cluster open fixes
2015-04-17 13:38:30 -06:00
Jason Wilder 16f3cee730 Update Changelog
Add #2325 #2324
2015-04-17 13:29:34 -06:00
Jason Wilder a18107ed7a Fix race in Broker.Close()/RunContinousQueryProcessing()
Fixes #2324
2015-04-17 13:13:45 -06:00
Jason Wilder 98af8535bd Use http.DefaultClient in handler_test.go
Creating a client in each test can leave connections open. Can
just use the DefaultClient instead.
2015-04-17 12:51:11 -06:00
Jason Wilder a75845dfff Remove type check when handling closed network connection error 2015-04-17 12:30:11 -06:00
Jason Wilder 8ee8218791 Merge pull request #2301 from influxdb/races
Distributed query load balancing and failover
2015-04-17 12:00:54 -06:00
Jason Wilder 5098774fc3 Update change log
Add #2301 #2242 #2243 #2190
2015-04-17 11:53:16 -06:00
Jason Wilder 8aa0d32b6f Add failover to other data nodes for distributed queries
Fixes #2190
2015-04-17 11:28:47 -06:00
Jason Wilder c52dfce897 Load balance distributed queries across data nodes
Adds a Balancer interface to allow RemoteMappers to send data node
requests to multiple nodes.  It also provides the ability to failed
requests to mark the data node as offline using exponential
backoff with a 5 min max wait time.

Fixes #2242
2015-04-17 11:28:47 -06:00
Jason Wilder f18dbf4e49 Use Limit Reader instead of fixed 1MB/1GB slice for DQ
Fixes #2243
2015-04-17 11:28:47 -06:00
Jason Wilder fbaa37a5ef Close resp body during write tests 2015-04-17 11:28:47 -06:00
Jason Wilder 69944622bc Don't set data node until after it has joined or initialized
By setting it, data node requests can be served by the http handler
before the data node is actually ready.

Possible fix for:

2015/04/14 11:33:54 http: panic serving 10.0.1.8:62661: runtime error: invalid memory address or nil pointer dereference
goroutine 11467 [running]:
net/http.func·011()
	/usr/local/go/src/net/http/server.go:1130 +0xcc
github.com/influxdb/influxdb.(*Server).broadcast(0xc20805cc00, 0xc208220000, 0x5d25e0, 0xc208869e80, 0x0, 0x0, 0x0)
	/Users/jason/go/src/github.com/influxdb/influxdb/server.go:568 +0x227
github.com/influxdb/influxdb.(*Server).CreateDataNode(0xc20805cc00, 0xc2081c6e70, 0x0, 0x0)
	/Users/jason/go/src/github.com/influxdb/influxdb/server.go:859 +0xe6
github.com/influxdb/influxdb/httpd.(*Handler).serveCreateDataNode(0xc20842ea00, 0x19378c0, 0xc2082207e0, 0xc2083191e0)
2015-04-17 11:28:47 -06:00
Philip O'Toole 033ab7aa21 Merge pull request #2318 from influxdb/no_need_for_done
Don't pass 'done' as it is unneeded
2015-04-16 16:30:55 -07:00
Philip O'Toole 2162be59e9 Don't pass 'done' as it is unneeded 2015-04-16 16:21:03 -07:00
Philip O'Toole 2d1e809fe6 Merge pull request #2315 from influxdb/remove_marshal
Remove debug commit
2015-04-16 13:00:28 -07:00
Philip O'Toole d21a9493c6 Remove debug commit 2015-04-16 11:50:47 -07:00
Philip O'Toole 6415d3371f Revert deliberate failing change to unit test 2015-04-16 10:57:01 -07:00
Jason Wilder cea6c25c8e Merge pull request #2312 from influxdb/2310
Re-use httpclient for continuous queries
2015-04-16 11:53:15 -06:00
Philip O'Toole a682b39732 Force a test failure to test new CI process 2015-04-16 10:52:35 -07:00
Philip O'Toole e652468254 Add details on CircleCI testing 2015-04-16 10:51:05 -07:00
Philip O'Toole 39ddd4faca Merge pull request #2306 from influxdb/configure_circle_build
Explicitly configure CircleCI build setup
2015-04-16 10:46:30 -07:00
Jason Wilder a69c746fbf Update changelog 2015-04-16 11:45:42 -06:00
Philip O'Toole 4171c568a1 Remove tests that require import of influxd main 2015-04-16 10:28:21 -07:00
Philip O'Toole cb57554c86 Explicitly configure CircleCI build setup 2015-04-16 10:26:16 -07:00
Jason Wilder 1de38ddff6 Re-use httpclient for continuous queries
Fixes #2310
2015-04-16 11:06:15 -06:00
Philip O'Toole 5c8d297afb Merge pull request #2304 from influxdb/disable_racy_tests
Disable racy tests
2015-04-15 18:29:30 -07:00
Philip O'Toole 12c02923c1 Issue 2303 2015-04-15 18:24:33 -07:00
Philip O'Toole e0c4ab68c5 Update for PR2297 2015-04-15 15:22:28 -07:00
Philip O'Toole f6f4cc9170 Merge pull request #2297 from neonstalwart/pidfile
ensure directory of pidfile exists after a restart
2015-04-15 15:20:22 -07:00
ben hockey eaac88a0f6 /var/run/influxdb creation covered by init script 2015-04-15 16:47:20 -05:00
ben hockey 4e6c384f82 ensure directory of pidfile exists after a restart 2015-04-15 16:47:20 -05:00
Philip O'Toole ef9e9e8ae5 RC25 is out 2015-04-15 14:27:31 -07:00
Philip O'Toole 49fb7e3422 Run all tests serially 2015-04-15 14:23:23 -07:00
Todd Persen eb2eee21af Merge pull request #2295 from influxdb/check_null_fix
Use nil as default return value for MapCount
2015-04-15 12:18:15 -07:00
Philip O'Toole 7147b0f88e Update CHANGELOG 2015-04-15 11:55:39 -07:00
Philip O'Toole 336caff1f0 Add test of COUNT with specific fill 2015-04-15 11:55:07 -07:00
ben hockey 8a8506e0bb add count aggregate fill test 2015-04-15 11:55:07 -07:00
ben hockey d993a3f36b use nil as default return value for MapCount
fixes #2271
2015-04-15 11:55:07 -07:00
Todd Persen 6f9e639647 Update CHANGELOG.md 2015-04-15 11:38:44 -07:00
Todd Persen b43db194ea Merge pull request #2294 from influxdb/flush-fix
Fix stream writer flushing to be thread safe.
2015-04-15 11:25:58 -07:00
Ben Johnson b54f81fcac Fix stream writer flushing to be thread safe.
This change fixes the raft streams so that Flush() is not called
asynchronously while the snapshot is being written.
2015-04-15 12:07:03 -06:00
Todd Persen 8b8ce9d4bb Merge pull request #2290 from neonstalwart/hostname
allow hostname arg to override test config
2015-04-15 11:02:10 -07:00