Commit Graph

2895 Commits (24e0a398cc5474e61854c5876110947d469a675a)

Author SHA1 Message Date
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
Philip O'Toole 918c0562be Create storage dir for 'join-cluster' if needed 2014-12-11 15:52:21 -08:00
Philip O'Toole 71da5c4a4a Correct path of storage dir for 'create-cluster' 2014-12-11 15:52:21 -08:00
Philip O'Toole dbd9dcbe0f Add missing default config paths and help
They were missing for 'create-cluster' and 'join-cluster'.
2014-12-11 15:52:18 -08:00
Philip O'Toole 73f304ca1e Bring up broker endpoints
If a Broker is running on the node, we need ensure the handler will
service its endpoints.
2014-12-11 14:42:21 -08:00
Ben Johnson 440894abb4 Merge pull request #1210 from influxdb/planner
Add constant folding.
2014-12-11 11:41:26 -07:00
Philip O'Toole b0ca8f4294 Merge pull request #1209 from otoolep/go_cluster_bringup-2
Implement command-based CLI, and start cluster-bringup
2014-12-11 09:34:12 -08:00
Ben Johnson f469097e8b Add ability to fold without now(). 2014-12-11 09:58:33 -07:00
Ben Johnson e854b913e5 Add constant folding. 2014-12-10 23:32:45 -07:00
Philip O'Toole 2c0a69df9a Implement command-based CLI, and start cluster-bringup
This change adds a CLI styled after the Go tool chain, with a design
inspired by that system. It adds 4 new commands, 'run',
'create-cluster', 'join-cluster', and 'version'. Full help is also
supplied.

Local-mode 'run' is fully functional, and 'create-cluster' also works.
2014-12-10 16:30:08 -08:00
Ben Johnson a1b142eca9 Merge pull request #1186 from influxdb/planner
Query Planner
2014-12-10 07:45:46 -07:00
Ben Johnson 8d7a2339a7 Merge branch 'master' of https://github.com/influxdb/influxdb into planner 2014-12-10 07:45:02 -07:00
Ben Johnson b349394d3c NOTES 2014-12-10 07:44:52 -07:00
Todd Persen e073d9a824 Update README links to hit the current docs. 2014-12-09 16:24:29 -05:00
Paul Dix 088d8ebef8 Update QUERIES.md
Add measurements info to list queries.
Make listing of tag values and keys more explicit.
2014-12-09 11:26:34 -05:00
Paul Dix a4af65ae9d Update QUERIES.md
Add note at the top about names of things.
Update Destroy examples.
Finish updates to the list series queries.
2014-12-09 11:19:43 -05:00
Paul Dix 8d57611dd7 Update QUERIES.md
Removed the having stuff, added examples for top
2014-12-09 11:09:33 -05:00
Paul Dix dc1fce917c Update QUERIES.md
Add some of the list syntax.
2014-12-09 10:49:42 -05:00
Ben Johnson d69691e6c5 Refactor planner. 2014-12-09 08:45:29 -07:00