Commit Graph

5360 Commits (8ab44301b946f5492a90e7545093f518e273e6c4)

Author SHA1 Message Date
Cory LaNou c45e080640 fix test data collision 2015-04-17 16:18:28 -07:00
Cory LaNou cecd7f77e1 ClusterURL refactor VI 2015-04-17 16:18:28 -07:00
Cory LaNou 0d734868a8 use net.JoinHostPort 2015-04-17 16:18:28 -07:00
Cory LaNou 46b19a5777 update changelog 2015-04-17 16:18:28 -07:00
Cory LaNou 17d93b692d remove debugging 2015-04-17 16:18:28 -07:00
Cory LaNou 69d99a895a ClusterURL ractor III 2015-04-17 16:18:28 -07:00
Cory LaNou 6de52d5046 force OpenTSDB to use IPv4 formats 2015-04-17 16:18:28 -07:00
Cory LaNou 0469d8e283 explicitly specify bind port for graphite tests to properly form IPv6 addresses 2015-04-17 16:18:28 -07:00
Cory LaNou ea6cacc789 test in parallel - packages and tests 2015-04-17 16:18:28 -07:00
Cory LaNou a689e8fcea refactor the ClusterURL again 2015-04-17 16:18:28 -07:00
Cory LaNou 893834afbb simplify ClusterURL 2015-04-17 16:18:28 -07:00
Cory LaNou 4d809a8920 no more port collisions 2015-04-17 16:18:28 -07:00
Cory LaNou 5fb81825db fix graphite default initialization 2015-04-17 16:18:28 -07:00
Cory LaNou bad336a6ae wip fixing graphite tests 2015-04-17 16:18:28 -07:00
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