Commit Graph

5196 Commits (30b56cea0383f7c72b5be5574a08da63750b9dc8)

Author SHA1 Message Date
Todd Persen 30b56cea03 Merge pull request #2336 from influxdb/2272-fix
Handle distributed queries when shards != data nodes
2015-04-20 13:16:12 -07:00
Jason Wilder 94f50ac056 Make 3 node failover test parallel 2015-04-20 09:24:56 -06:00
Jason Wilder fd4a69855d Re-enable Test3NodeClusterPartiallyReplicated 2015-04-20 09:24:56 -06:00
Jason Wilder d8fba0a50d Close raft log before broker
Closing the broker before the raft log can trigger this panic since the
raft log depends on the broker via the FSM.

panic: apply: broker apply: broker already closed

goroutine 29164 [running]:
github.com/influxdb/influxdb/raft.(*Log).applier(0xc20833b040, 0xc20802bd40)
	/Users/jason/go/src/github.com/influxdb/influxdb/raft/log.go:1386 +0x278
created by github.com/influxdb/influxdb/raft.func·002
	/Users/jason/go/src/github.com/influxdb/influxdb/raft/log.go:389 +0x764
2015-04-20 09:23:39 -06:00
Jason Wilder d5bd804993 Handle distributed queries when shards != data nodes
Fixes #2272

There was previously a explict panic put in the query engine to prevent
queries where the number of shards was not equal to the number of data nodes
in the cluster.  This was waiting for the distributed queries branch to land
but was not removed when that landed.
2015-04-20 09:23:35 -06:00
Philip O'Toole 3332f09c5b Merge pull request #2344 from influxdb/retry_go_get
Retry 'go get' during CircleCI builds
2015-04-19 10:39:08 -07:00
Philip O'Toole e8d7d5ba1f Retry 'go get' during CircleCI builds 2015-04-19 10:33:38 -07:00
Philip O'Toole 07e9ddff75 Merge pull request #2339 from influxdb/keep_logs
tee test logs into $CIRCLE_ARTIFACTS
2015-04-19 10:12:57 -07:00
Philip O'Toole 4a0e5bcf31 tee test logs into $CIRCLE_ARTIFACTS 2015-04-19 09:39:01 -07:00
Philip O'Toole 1daed992f5 Merge pull request #2340 from influxdb/fix_diags_panic
SHOW DIAGNOSTICS must check if shards are local
2015-04-18 12:07:48 -07:00
Philip O'Toole 16befaa834 SHOW DIAGNOSTICS must check if shards are local
Fix issue #2323.
2015-04-18 11:39:08 -07:00
dgnorton edd613dff0 Merge pull request #2338 from influxdb/fix-2337
fix #2337: panic if tag key isn't double quoted
2015-04-18 13:17:53 -04:00
David Norton ed3ff1ce16 fix #2337: code review change 2015-04-18 13:12:54 -04:00
David Norton a1790f2d0c fix #2337: panic if tag key isn't double quoted 2015-04-18 13:05:41 -04:00
Philip O'Toole 81cd0aca91 Merge pull request #2333 from influxdb/test_suite_overhaul_parallel
Test suite overhaul parallel
2015-04-18 10:01:48 -07:00
Philip O'Toole 0b1fc43f88 If Accept() fails due to a closing listener, return
Other types of Accept() failures should result in a retry.
2015-04-18 09:55:26 -07:00
Philip O'Toole 4a1df4c45a Reduce test timeout for graphite and openTSDB 2015-04-18 09:53:54 -07:00
Philip O'Toole e68807d173 Increase parallelism to 256 2015-04-17 18:50:41 -07:00
Philip O'Toole 28ffd49dfc Use WaitGroup with UDP Graphite Close() 2015-04-17 18:50:05 -07:00
Philip O'Toole 12724ccc9c Remove debug cruft from tests 2015-04-17 18:46:10 -07:00
Philip O'Toole d0db8c05eb Use parallelism of 32 2015-04-17 18:42:44 -07:00
Philip O'Toole d0bbdc2dd5 'go get' exactly as InfluxDB does 2015-04-17 18:33:26 -07:00
Philip O'Toole 8265fe50b2 Just use Wait Groups with openTSDB shutdown 2015-04-17 18:33:26 -07:00
Philip O'Toole 550f7bf59c ust use Wait Groups to shutdown Graphite 2015-04-17 18:33:26 -07:00
Philip O'Toole bc9a0b8ad6 Dump cluster diags if table-tests fail 2015-04-17 18:33:26 -07:00
Philip O'Toole 4c7e3632b9 Disable partial replication test 2015-04-17 18:33:22 -07:00
Philip O'Toole 79519e6a7e Parameterize graphite and openTSDB test timeouts 2015-04-17 18:32:59 -07:00
Philip O'Toole 665f57f72a Give table-driven tests 30 seconds per query 2015-04-17 18:32:58 -07:00
Philip O'Toole e9ebf654e9 Return number of nodes that responded OK 2015-04-17 18:32:58 -07:00
Philip O'Toole 50b08ff73f Bang on test server every 100 ms 2015-04-17 18:32:58 -07:00
Philip O'Toole 88b9276e33 Name 'show continuous queries' test 2015-04-17 16:18:28 -07:00
Philip O'Toole df16e6c121 Even better output from integration test 2015-04-17 16:18:28 -07:00
Philip O'Toole f205e56323 Default parallelism 2015-04-17 16:18:28 -07:00
Philip O'Toole 8113b0cfd4 Also wait until connections are closed 2015-04-17 16:18:28 -07:00
Philip O'Toole 3dff1b0f0b Add WaitGroups to openTSDB and Graphite close 2015-04-17 16:18:28 -07:00
Cory LaNou 67f252d561 fix race conditions in graphite/openTSDB endoints 2015-04-17 16:18:28 -07:00
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