Commit Graph

2863 Commits (252a4cfba86329608cfde23addcc6de6107d5c75)

Author SHA1 Message Date
Ben Johnson 252a4cfba8 code review fix. 2014-12-19 21:45:40 -07:00
Ben Johnson a6d1de7d20 Merge branch 'master' of https://github.com/influxdb/influxdb into group-by 2014-12-19 21:38:21 -07:00
Ben Johnson 6c6bb92a1b Add join support.
This commit adds the ability to join multiple measurements together and calculate aggregate
function expressions.
2014-12-19 21:36:52 -07:00
Philip O'Toole 8b55fda793 Merge pull request #1249 from otoolep/3_node_raft
Enable join of nodes to existing cluster
2014-12-19 17:13:50 -05: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 b124a46fe2 Prefix remaining Raft paths with 'raft' 2014-12-19 16:31:40 -05:00
Philip O'Toole e31c58d580 Add protocol to Raft connection string
Fixed at HTTP for now.
2014-12-19 16:18:48 -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 ede3b9511e Explicitly use 'raft' in URL path for Raft ops 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 3ab0c5b270 Add logging of Raft initialization 2014-12-19 16:18:01 -05:00
Ben Johnson 1ad79470c6 Merge branch 'master' of https://github.com/influxdb/influxdb into group-by 2014-12-19 11:19:08 -07:00
Philip O'Toole 3d2e57421d Merge pull request #1253 from otoolep/fix_config_ref
Use existing config variable, not a new one
2014-12-19 13:11:16 -05:00
Philip O'Toole 72d73b800c Use existing config variable, not a new one
Without this, log remained closed. Always.
2014-12-19 13:08:09 -05:00
Philip O'Toole 4f0eceb906 Merge pull request #1250 from otoolep/launch_handlers_in_goroutines
Launch HTTP handlers in goroutines
2014-12-19 11:40:11 -05:00
Philip O'Toole bc6d951057 Launch HTTP handlers in goroutines 2014-12-19 11:34:32 -05:00
Philip O'Toole 97e66c08c2 Merge pull request #1248 from otoolep/fix-join-cluster-help
The flag is 'seed-servers'
2014-12-18 11:40:18 -08:00
Philip O'Toole 2124ebb383 The flag is 'seed-servers' 2014-12-18 11:35:03 -08:00
Ben Johnson 41bb5ccfdd Add group by support for tags.
This commit adds GROUP BY support for tags. Previously only the interval could be grouped by.
2014-12-18 08:44:21 -07:00
Philip O'Toole 3d19e6edc0 Merge pull request #1240 from otoolep/client_config_file
Store Messaging Client config in file
2014-12-17 08:38:58 -08: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 8440013093 Actually update display text for 0.8.7 release 2014-12-16 20:07:00 -08:00
Philip O'Toole 209cca30a5 Update current tag to 0.8.7 2014-12-16 20:06:27 -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 0bb382cf74 Merge pull request #1235 from otoolep/config_port
Support separate HTTP ports for Raft and API
2014-12-16 19:48:25 -08:00
Philip O'Toole 20716a93e7 Support separate HTTP ports for Raft and API 2014-12-16 19:39:43 -08:00
Ben Johnson 925abdcb67 Merge pull request #1232 from influxdb/planner
Add time range extraction and interval grouping support to execution engine.
2014-12-16 15:08:48 -07:00
dgnorton badc9e5e83 Merge pull request #1222 from influxdb/parse-list
Parse list
2014-12-16 12:41:12 -05:00
David Norton 9d2aba9d7f influxql: move ORDER BY parsing to its own func 2014-12-16 12:32:08 -05:00
Philip O'Toole 7c00ccd83c Merge pull request #1237 from otoolep/parse_seed_servers
Add support for seed-servers during 'run'
2014-12-16 08:51:25 -08:00
Ben Johnson 04608f74c0 Add time range crossover test. 2014-12-16 08:57:27 -07:00
Ben Johnson 9bcc48f8f9 Code review fixes. 2014-12-16 08:50:30 -07:00
David Norton 3deb2bb132 go fmt 2014-12-16 09:06:51 -05:00
David Norton abce33981a influxql: capitalize LIMIT in error message 2014-12-16 09:06:51 -05:00
David Norton 4ce9b2bd74 influxql: add LIST MEASUREMENTS, TAGS, & FIELDS 2014-12-16 09:06:51 -05:00
David Norton ddc1352073 influxql: only accept LIMIT values > 0 2014-12-16 09:06:51 -05:00
David Norton 6f3ba3efdb influxql: change ORDER BY to accept a field list
Change ORDER BY to accept a field list and change LIST SERIES
statement to allow ORDER BY.
2014-12-16 09:06:51 -05:00
David Norton 0f3ea136be influxql: make LIST SERIES support WHERE & LIMIT 2014-12-16 09:06:51 -05:00
David Norton 74ade8cffb Add LIST related tokens to scanner 2014-12-16 09:06:50 -05:00
Philip O'Toole 7eadaa75ca Add support for seed-servers during 'run' 2014-12-15 23:08:17 -08:00
Philip O'Toole fae3890e8a Merge pull request #1234 from otoolep/set_dir_bools
Set bool flag once storage dir created
2014-12-15 22:00:53 -08:00
Philip O'Toole 0fd2bc03a2 Set bool flag once storage dir created 2014-12-15 21:55:57 -08:00
Philip O'Toole 3fbdf05637 Merge pull request #1233 from otoolep/clearer_cluster_run
Simplify 'run' control
2014-12-15 20:13:14 -08:00
Philip O'Toole e70f00723c Simplify 'run' control
This change refactors the existing 'run' command such that repeated code
is removed. It uses -- in a much clearer manner -- the existence of the
Broker and Storage directories to work out in which mode it should run.
The only extra piece of state required on a disk is an empty file,
whose simple existence indicates that a local (loopback) client is
needed.

With this change in place the 'join-cluster' and 'create-cluster'
commands are much closer to being fully functional, since they simply
don't create the empty file. Therefore it all just works.
2014-12-15 19:45:55 -08:00
Ben Johnson 38263e0fac Add time range extraction and group by support to execution engine. 2014-12-15 08:34:32 -07:00
Philip O'Toole 8fb8e72c33 Merge pull request #1214 from otoolep/fix_panic_on_default_run
Fix panic when just 'influxd' is run
2014-12-11 16:38:16 -08:00
Philip O'Toole a20e8ec7e0 Fix panic when just 'influxd' is run 2014-12-11 16:05:09 -08:00
Philip O'Toole 3c6e84858d Merge pull request #1212 from otoolep/add_raft_endpoints
Add Raft endpoints and fix cluster init bugs
2014-12-11 16:00:07 -08:00