Commit Graph

4121 Commits (1bbf154f2aad16074be2276da52ce4d82990c589)

Author SHA1 Message Date
Philip O'Toole fb627ac3f9 Trivial copyedit fix to README 2015-02-17 19:51:58 -08:00
Paul Dix aede605bd1 Merge pull request #1285 from influxdb/continuous-queries
Implement continuous queries
2015-02-17 21:07:21 -05:00
Paul Dix 6fd7dd028a Fix conflict with createFields and createContinuousQuery message types 2015-02-17 21:06:48 -05: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
Paul Dix 3809514cd2 Fixed issue on running servers that are data nodes only 2015-02-17 21:02:53 -05:00
Paul Dix 9f5bf814d8 Remove old config settings 2015-02-17 21:02:53 -05:00
Paul Dix 8fee14fbf8 Fixes based on PR feedback.
* Pull out magic numbers for running CQs in the broker
* Typo fixes in comments
* Update the process_continuous_queries endpoint to not have gzip
* Remove previous implementation of MeasurementNames in favor of new simpler one
2015-02-17 21:02:53 -05:00
Paul Dix 47cddda6e2 Fix up stubbed out CQ tests 2015-02-17 21:02:52 -05:00
Paul Dix edcc20bcab Wire up show continuous queries 2015-02-17 21:02:52 -05:00
Paul Dix 8d9bcdbc97 Finish wiring up basic version of CQs 2015-02-17 21:02:52 -05:00
Paul Dix fec6764b09 WIP: wire up continuous queries
* Fix run to work with CQ broker
* Fix CQ handler
* Fix SetTimeRange to use RFC3339Nano
* Fix the time range tests
* Fix the parser to parse for RFC3339Nano literals in addition to the other format
* Add logic for running CQs
* Remove duplicate WriteBufferSize default setting from config
2015-02-17 21:02:18 -05:00
Paul Dix 2d08d6e288 Fix errors after master rebase. 2015-02-17 21:01:22 -05:00
Paul Dix b0d4b6da55 WIP: fix cq query times 2015-02-17 21:01:21 -05:00
Paul Dix 7269647bfd Fix parser test, fix handler 2015-02-17 21:01:21 -05:00
Paul Dix f2d132b361 Implement continuous queries with group by intervals
* Update defaults on Broker for when to trigger CQ runs
* Add config settings for how often to calculate and recalculate CQ results
* Update Server to have CQ settings
* Update AST to fold removed time literals when setting time range
* Add periodic CQ running functionality to server
2015-02-17 21:00:24 -05:00
Paul Dix 4217778a08 Add periodic triggering of continuous queries to broker.
* Create influxdb specific broker that will periodically start continuous query calculation. Will send to the same data node as long as it's up and responding
* Add endpoint in handler to start processing of continuous queries on a data node
2015-02-17 21:00:24 -05:00
Paul Dix 34e037a9d8 Add SetTimeRange to SelectStatement for use by continuous queries 2015-02-17 21:00:24 -05:00
Paul Dix 5f14d5faf5 WIP: start implementation of continuous queries
* Update SelectStatement to have GroupByInterval
* Update parser to verify that CQs have GroupByInterval if Aggregated
* Implement CreateContinousQuery on Server
* Add ContinuousQueries to database
2015-02-17 21:00:24 -05:00
Ben Johnson 43e27680a4 Partial CQ structure.
Conflicts:
	cmd/influxd/run.go
2015-02-17 20:59:57 -05:00
Paul Dix 155b4d8eb8 Add stuff on architecture 2015-02-17 20:59:57 -05:00
Paul Dix c21c7e689f Fix CQ multiple aggregation example 2015-02-17 20:59:57 -05:00
Paul Dix a8b389f6de Add more explanation, update security to force admin user 2015-02-17 20:59:57 -05:00
Paul Dix 6108d5b458 Fix name of continuous queries doc 2015-02-17 20:59:57 -05:00
Paul Dix c7b31cd560 Update continuous query doc based on feedback 2015-02-17 20:59:57 -05:00
Paul Dix 083b99c972 Add doc describing continuous queries 2015-02-17 20:59:57 -05:00
Philip O'Toole d6348f5ed8 Merge pull request #1628 from influxdb/more_git_ignore
More ignore patterns for binaries
2015-02-17 15:32:26 -08:00
Philip O'Toole caf378b436 Merge pull request #1627 from influxdb/remove_write_log
Remove debug line that is output unconditionally
2015-02-17 15:24:25 -08:00
Philip O'Toole 11cb0281e1 More ignore patterns for binaries 2015-02-17 15:24:07 -08:00
Philip O'Toole baf32a0a9b Remove debug line that is output unconditionally 2015-02-17 15:15:29 -08:00
Todd Persen e6db59a2ce Merge pull request #1626 from influxdb/typo
fix typo stuct to struct
2015-02-17 14:34:08 -08:00
Frontend bacd500a7f fix typo stuct to struct 2015-02-17 16:53:31 -05:00
Philip O'Toole cd87583d65 Merge pull request #1580 from influxdb/support_all_value_types
Support all value types
2015-02-17 13:19:32 -08:00
Philip O'Toole e74fadfd53 Merge branch 'master' of github.com:influxdb/influxdb into support_all_value_types 2015-02-17 12:55:12 -08:00
Philip O'Toole 3810fb55a9 Unit test writing boolean types 2015-02-17 12:37:24 -08:00
Philip O'Toole e82502227b Decode strings correctly with correct end index
Unit test indexing of strings.
2015-02-17 12:33:50 -08:00
Philip O'Toole b564b90171 Rename test case for clarity 2015-02-17 12:04:10 -08:00
Philip O'Toole 0ebd7858fc Merge pull request #1620 from influxdb/ignore_daemon
Ignore influxd regardless of path
2015-02-17 12:02:03 -08:00
Philip O'Toole a7f9c7e02a Ignore influxd regardless of path 2015-02-17 11:55:20 -08:00
Cory LaNou cf25e6042a Merge pull request #1619 from influxdb/contributing-go-cover
add reference go getting go cover tool
2015-02-17 12:46:29 -07:00
Cory LaNou 70d7b93e94 removing whitespace 2015-02-17 12:41:35 -07:00
Cory LaNou 4a3a1c3079 add reference go getting go cover tool 2015-02-17 12:35:11 -07:00
Philip O'Toole bc1640f78a Filenames in github are case-senstive 2015-02-17 11:29:40 -08:00
Cory LaNou 1d0e4f7622 Merge pull request #1618 from influxdb/update-readme-contributing
update link for contributing.md. fixes #1617
2015-02-17 11:46:57 -07:00
Cory LaNou c8b557dba1 update link for contributing.md. fixes #1617 2015-02-17 11:12:23 -07:00
Philip O'Toole ae81dff9f6 Use Field codec in debug code 2015-02-16 16:43:35 -08:00
Philip O'Toole 571fde8d3a Use dedicated decoded in cursor 2015-02-16 16:39:11 -08:00
Philip O'Toole 5f20af0023 Implement codec DecodeByID 2015-02-16 16:31:39 -08:00
Philip O'Toole 6db74aa9bb Implement codec's encode 2015-02-16 16:01:52 -08:00
Ben Johnson f6ceb9bd32 Refactor raft state handling.
This commit changes the state handling of the raft log. The actions
for related to each raft state are strictly confined within that state's
loop. To transition between states, the raft log now much clean up all
its actions before moving on.

This fixes issues where goroutines were kicked off for one state but
were delayed in their scheduling so they would begin after the log
had already changed to another state.
2015-02-16 15:45:37 -07:00
Philip O'Toole 8cdee6a997 Clarify use of ReadSeries() 2015-02-16 10:28:06 -08:00