Commit Graph

33 Commits (78ed56a416ea587856cd61dc87ae4aa944806ccd)

Author SHA1 Message Date
Philip O'Toole 00075be679 Disable TestBroker_Join until fixed
Panic on travis:

=== RUN TestBroker_Join
[raft] 2015/01/30 06:46:16 log open: created at
/tmp/influxdb-messaging-119432971/raft, with ID 0, term 0, last applied
index of 0
[raft] 2015/01/30 06:46:16 log state change: stopped => leader
[raft] 2015/01/30 06:46:16 log initialize: promoted to 'leader' with
cluster ID 3337066551442961397, log ID 1, term 1
[raft] 2015/01/30 06:46:16 log open: created at
/tmp/influxdb-messaging-071763182/raft, with ID 0, term 0, last applied
index of 0
[raft] 2015/01/30 06:46:17 log state change: stopped => follower
[raft] 2015/01/30 06:46:17 log join: entered 'follower' state for
cluster at http://127.0.0.1:33257  with log ID 2
[raft] 2015/01/30 06:46:17 log state change: follower => follower
[raft] 2015/01/30 06:46:17 log state change: follower => stopped
panic: write to: add stream writer: write to: replica unavailable
goroutine 410 [running]:
github.com/influxdb/influxdb/messaging_test.func·003()
    /home/travis/gopath/src/github.com/influxdb/influxdb/messaging/broker_test.go:260
+0x140
created by
github.com/influxdb/influxdb/messaging_test.(*Broker).MustReadAll
    /home/travis/gopath/src/github.com/influxdb/influxdb/messaging/broker_test.go:262
+0x14e
2015-01-29 22:47:32 -08:00
Philip O'Toole 9943f86cf4 Enable module-level logging 2015-01-29 15:07:58 -08:00
Ben Johnson 26f4cf6cba Add raw broker benchmark. 2015-01-28 21:44:13 -05:00
Ben Johnson efc0a263e3 Add Broker over HTTP benchmark. 2015-01-28 21:38:02 -05:00
Ben Johnson 0c64014fac Add additional broker HTTP redirection. 2015-01-28 03:41:28 -05:00
Ben Johnson cc025f3e74 Fix broker metadata persistence. 2015-01-28 03:21:00 -05:00
Ben Johnson 3601c3c79f Fix restarts and broker redirection. 2015-01-28 01:09:50 -05:00
Cory LaNou b815cb5689 go vet without arguments will now pass cleanly 2015-01-13 11:15:45 -07:00
Ben Johnson 071ab8510a Merge branch 'master' of https://github.com/influxdb/influxdb into write-series 2015-01-12 12:37:48 -07:00
Philip O'Toole 295d63cb57 More vet fixes 2015-01-11 15:14:22 -08:00
Ben Johnson 5652e12c63 Add write series. 2015-01-10 13:29:43 -07:00
Ben Johnson 6912c1415d Merge branch 'master' of https://github.com/influxdb/influxdb into write-series
Conflicts:
	server.go
2015-01-10 10:03:37 -07:00
Ben Johnson c20746ffa6 Code review fixes. 2015-01-10 09:08:00 -07:00
Ben Johnson 946007916c Partial write series code. 2015-01-10 08:48:50 -07:00
Ben Johnson 50a0826026 Add broker snapshot/restore and CLI join. 2015-01-06 17:21:32 -07:00
Ben Johnson dbb089488f Create cluster on initial run. 2014-12-31 12:42:53 -07:00
Ben Johnson 7a1de8a459 Use replica id instead of replica name. 2014-12-23 17:01:06 -07:00
Philip O'Toole 66016e10ff Check for connection URL on Broker Open()
Update unit tests suitably.
2014-12-19 17:09:39 -05:00
Philip O'Toole b8c04f96c4 connectionAddr -> addr
This is more line with existing Go packages.
2014-12-19 16:18:48 -05:00
Philip O'Toole 021604a6de Add connection URL to Broker 2014-12-19 16:18:01 -05:00
Philip O'Toole e1ef61aafc Tell Broker to join during 'join-cluster' 2014-12-19 16:18:01 -05:00
Philip O'Toole c373eba2f5 Don't store Broker URLs in two variables
Simply embed the custom config type in the Client object.
2014-12-16 21:25:20 -08:00
Philip O'Toole f5d48de7a8 Update messaging client unit tests 2014-12-16 21:19:42 -08:00
Philip O'Toole ceeb1f6946 Store Messaging Client config in file
The presence of this file is also used to determine if a node should run
in local client mode, or should contact a Broker.
2014-12-16 19:57:20 -08:00
Philip O'Toole 6ed0624471 Support Local mode via a Loopback messaging client
This change adds a simple loopback client to the system. It also moves
setting the seed servers to the command line, and removes control from
the configuration file.
2014-11-25 07:56:39 -08:00
Ben Johnson 5fe566466e Add messaging and raft test coverage. 2014-11-12 22:32:42 -07:00
Ben Johnson 2c7f879f4d Integrating http handler. 2014-11-10 22:25:03 -07:00
Ben Johnson f52c85a8a1 Query engine and parser integration into root pkg. 2014-11-09 19:55:53 -07:00
Ben Johnson dcef4baeb1 Add bolt-backed metastore. 2014-11-05 00:32:17 -05:00
Ben Johnson fdee900161 Remove topic name from messaging. 2014-10-23 22:22:52 -06:00
Ben Johnson 9c1e9d93bc Add broker client publishing. 2014-10-23 18:54:12 -06:00
Ben Johnson 7db0e15799 Refactoring into root. 2014-10-21 23:32:19 -06:00
Ben Johnson f6ef96c142 Refactor broker to messaging pkg. 2014-10-20 20:42:03 -06:00