Commit Graph

2965 Commits (87922c4202879cb67f19c25ba887dbbf64da379e)

Author SHA1 Message Date
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
Paul Dix ae0b6b57ff Update QUERIES.md
Fix @toddboom's top query
2014-12-09 10:24:35 -05:00
Todd Persen 4f0fb3d8e1 Merge pull request #1169 from influxdb/sample-queries
Start on a sample queries doc.
2014-12-09 10:22:21 -05:00
Ben Johnson c77191b282 Rebuilding engine in influxql. 2014-12-07 22:08:39 -07:00
Ben Johnson d34bc1f57f Add AST string encoding, substatement extraction. 2014-12-06 11:17:58 -07:00
Paul Dix 1e8e1f223c Merge pull request #1165 from influxdb/write_series
Implement writes series data on database
2014-12-03 15:53:39 -05:00
Paul Dix 309d6b90c5 Refactor CreateShardsIfNotExist to take policy name 2014-12-03 15:52:38 -05:00
Paul Dix 40cb058370 Refactor CreateShardIfNotExist
* make createShardIfNotExist non-exported function
* make CreateShardsIfNotExist to create shards for a given block of time. Makes it so we don't need to expose series ids on exported functions.
2014-12-03 15:36:54 -05:00
Philip O'Toole 3a41603c5f Merge pull request #1192 from otoolep/cluster_bringup
Add new command line options for clustering and role
2014-12-03 08:50:40 -08:00
Paul Dix 3190840f4b gofmt 2014-12-03 11:32:53 -05:00
Paul Dix edb9aa8dae Update tagsToBytes to fix possible collisions 2014-12-03 11:10:13 -05:00
dgnorton 0036996c2f Merge pull request #1149 from influxdb/http-api-shards
Http api shards
2014-12-03 11:04:11 -05:00
Paul Dix 1b96efac8f Remove todo 2014-12-03 10:41:05 -05:00
Paul Dix 83c06ea5b7 Make ShardBySeriesTimestamp not exported 2014-12-03 10:38:32 -05:00
Paul Dix 3192c8128f Make errors all lowercase to be idomatic 2014-12-03 10:36:04 -05:00
Paul Dix ec96fe2eb9 Change getSeriesId to seriesID to be idomatic 2014-12-03 10:32:39 -05:00
Paul Dix bbc2d2e477 Update CreateShardIfNotExists to check for shard first 2014-12-03 10:12:20 -05:00
Paul Dix 20098bbd5a Update CreateSeriesIfNotExist to check for existence 2014-12-03 10:10:27 -05:00
Paul Dix bae2ce8150 Update write series
* don't block for replication when writing
* update db.CreateShardIfNotExists to return the shard
2014-12-03 07:27:34 -05:00
Philip O'Toole f6d7393172 Add new command line options for clustering and role 2014-12-02 18:49:32 -08:00
Paul Dix 2f362e557d Make writeSeries create shards if necessary and write data through. 2014-11-30 18:00:50 -05:00
Ben Johnson 0b07cec7f4 Merge branch 'master' of https://github.com/influxdb/influxdb into planner 2014-11-30 15:52:20 -07:00
Ben Johnson a41e539458 Initial query planner. 2014-11-30 15:52:00 -07:00
Ben Johnson 7bd3613b72 Merge pull request #1170 from influxdb/parse-select-star
Make influxql parse SELECT *
2014-11-30 15:09:23 -07:00
Paul Dix c008594b0d Finish up creating new series.
* setSeriesId changed to createSeriesIfNotExists
* changed tagsToBytes implementation to be more compact and accunt for maps not having keys in sorted order
* remove maxFieldId from database and use a sequence on the bucket for the db in the series bucket instead
2014-11-28 19:50:02 -05:00
Paul Dix 8d9a063cc2 Implement setting of new series id 2014-11-28 14:14:04 -05:00
Paul Dix d08bc0297d WIP: Implement writes series data on database
* Add setSeriesId to raft, metastore
* Add methods to get seriesIds

[ci skip]
2014-11-26 11:26:18 -05:00
David Norton 3478866fcb Wire up GET /db/:db/users/:user and use Matcher
In addition to wiring up the endpoint, this commit also changes the
user endpoints to use two []*Matcher for readFrom and writeTo instead
of a single []string for permissions.
2014-11-26 11:02:17 -05:00
Philip O'Toole 8049c34c7d Revert "Merge pull request #1174 from otoolep/increase_add_time"
This reverts commit 555346627e, reversing
changes made to af86d7cb1c.
2014-11-26 07:56:19 -08:00
Ben Johnson 555346627e Merge pull request #1174 from otoolep/increase_add_time
Increase time "added" for single node test
2014-11-26 08:23:45 -07:00
David Norton f34ed511c0 Wire up POST /db/:db/users 2014-11-26 09:36:43 -05:00