Commit Graph

28 Commits (1bbf154f2aad16074be2276da52ce4d82990c589)

Author SHA1 Message Date
Ben Johnson 1bbf154f2a Removing replicas and subscriptions from broker. 2015-03-01 22:32:20 -07:00
Ben Johnson 16dbe8ba2f Add Broker.Truncate(). 2015-03-01 07:06:25 -07:00
Ben Johnson 39ae8e6406 Add topic segmentation. 2015-02-24 20:32:20 -07:00
Todd Persen e45611cde3 Pull in cluster ID for reporting. 2015-02-23 10:42:39 -08:00
Ben Johnson 7107d4b0ac Start replica subscription from index zero. 2015-02-21 15:01:32 -08:00
Ben Johnson 408cf37e5a Fix broker reopen test, docs. 2015-02-21 15:25:11 -07:00
Ben Johnson a5692b71ee Add proper broker recovery.
This commit fixes the broker recovery so that it determines the last index
from the various topic logs instead of persisting the snapshot on every
message that comes in.
2015-02-21 08:21:51 -07:00
Paul Dix 36d16a3172 Update broker to have URLs for replicas
* Update the infludb broker to not need a server so that it'll work on non-data node servers
* Update messaging broker to keep track of connect urls for replicas
2015-02-17 21:02:53 -05:00
Ben Johnson 43e27680a4 Partial CQ structure.
Conflicts:
	cmd/influxd/run.go
2015-02-17 20:59:57 -05:00
Ben Johnson 6c14371df4 Refactor raft package.
This commit refactors the raft package to more loosely couple the individual parts. The clock is now broken into
an interface that signals individual actions in the log. The transport has been mocked to allow more control over
the log tests. The handler's log has been mocked to separate its testing from the log itself.
2015-02-04 18:59:06 -07:00
Philip O'Toole 9943f86cf4 Enable module-level logging 2015-01-29 15:07:58 -08: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 c20746ffa6 Code review fixes. 2015-01-10 09:08:00 -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
Ben Johnson 5fe566466e Add messaging and raft test coverage. 2014-11-12 22:32:42 -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 f6ef96c142 Refactor broker to messaging pkg. 2014-10-20 20:42:03 -06:00