Commit Graph

4001 Commits (eaffda421dcf3f6ad010939f7e62031a396d5de5)

Author SHA1 Message Date
Philip O'Toole 0d3ab9fa1d Create-measurement command in local function 2015-02-20 11:28:06 -08:00
Philip O'Toole 93dea5d527 Test failure cases for measurement create command 2015-02-20 11:28:06 -08:00
Philip O'Toole 3435da9626 Correctly initialize createMeasurement maps
Full unit tests added for happy paths.
2015-02-20 11:28:06 -08:00
Philip O'Toole 55fbd7e42c Batch Measurement creation 2015-02-20 11:28:06 -08:00
Ben Johnson 2e32c314b6 Merge pull request #1615 from influxdb/election
Refactor raft state handling
2015-02-20 11:45:17 -07:00
Ben Johnson 02764a8a12 Fix raft last log index. 2015-02-20 11:02:30 -07:00
Ben Johnson 345382a89b Merge branch 'master' of https://github.com/influxdb/influxdb into election 2015-02-20 09:09:16 -07:00
Cory LaNou 1a6c783c29 Merge pull request #1658 from influxdb/http-wait-endpoint
Separate /index to /index and /wait
2015-02-19 19:53:45 -07:00
Cory LaNou 660db92fef return early 2015-02-19 19:46:45 -07:00
Cory LaNou b7d92743e1 one more test 2015-02-19 19:41:08 -07:00
Philip O'Toole 0519e76d4d Merge pull request #1645 from gummiboll/small-initsh-fix
Small fix for init.sh
2015-02-19 18:38:41 -08:00
Cory LaNou db73dcf0cc less goldplating, more endpoints 2015-02-19 19:34:52 -07:00
Cory LaNou 862d06f201 Merge pull request #1656 from influxdb/http-index
Basic index endpoints for http
2015-02-19 19:08:28 -07:00
Cory LaNou 4189eecef0 removing extra line 2015-02-19 19:01:53 -07:00
Cory LaNou de18566446 correct comment, parse uint64 2015-02-19 19:00:11 -07:00
Cory LaNou eb479b2826 allow for index/timeout to be specified in index endpoint 2015-02-19 18:55:42 -07:00
Cory LaNou d6f9470f41 basic index endpoints 2015-02-19 17:51:14 -07:00
Philip O'Toole ea2dadbd1e Merge pull request #1653 from influxdb/restart_before_query
Test that data is queryable across restarts
2015-02-19 13:35:25 -08:00
Philip O'Toole cc46d0225e Test that data is queryable across restarts 2015-02-19 13:22:04 -08:00
Ben Johnson ec1e2e3283 Merge branch 'master' of https://github.com/influxdb/influxdb into election 2015-02-19 12:33:00 -07:00
Ben Johnson 88ef9948c5 minor raft fixes 2015-02-19 11:24:23 -07:00
root 736704501c Added missing quotes 2015-02-19 19:21:10 +01:00
root 353d448f21 Small fix for init.sh 2015-02-19 12:21:17 +01:00
Cory LaNou b12bae0fb8 Merge pull request #1639 from influxdb/quiet-http-logger
Only log client facing http routes
2015-02-18 17:17:24 -07:00
Cory LaNou 9b04e014c8 only log client routes to the http log 2015-02-18 17:11:15 -07:00
Cory LaNou 1d09f0d0aa Merge pull request #1640 from influxdb/skip-failing-test
skipping intermittent failing test
2015-02-18 16:43:27 -07:00
Cory LaNou 1391ea1051 skipping intermittent failing test 2015-02-18 16:37:08 -07:00
Ben Johnson 232b4cfb34 Merge branch 'master' of https://github.com/influxdb/influxdb into election 2015-02-18 15:54:26 -07:00
Ben Johnson be22933c49 Additional raft fixes. 2015-02-18 15:37:42 -07:00
Mark Rushakoff 6954090024 Merge pull request #1574 from influxdb/client-user-agent
Client user agent is configurable
2015-02-18 12:10:53 -08:00
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