Commit Graph

2932 Commits (cc4630e268e103d5ea2118492f3cced869c0523f)

Author SHA1 Message Date
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
David Norton 5872f8ac27 Make var names consistent for RetentionPolicy 2014-11-26 08:41:34 -05:00
David Norton e3b85d1f87 Add more handler_test.go tests 2014-11-26 08:41:34 -05:00
David Norton 5810af2101 Add test for /ping 2014-11-26 08:41:34 -05:00
David Norton d28f7eff37 go fmt handler_test.go 2014-11-26 08:41:34 -05:00
David Norton a983745400 Wire up /db/:db/retention_policies/:name/shards 2014-11-26 08:41:34 -05:00
David Norton 9080ab95fe Wire up POST /db/:db/retention_policies/:name 2014-11-26 08:41:33 -05:00
David Norton 35d1aaee95 Wire up DELETE /db/:db/retention_policies/:name 2014-11-26 08:41:33 -05:00
David Norton 5570d886eb Wire up POST /db/:db/retention_polocies 2014-11-26 08:41:33 -05:00
David Norton 24aa231e6d Rename TestHTTPServer to HTTPServer 2014-11-26 08:41:33 -05:00
David Norton b8c6b5773a Use append instead of index 2014-11-26 08:41:33 -05:00
David Norton 89656ef842 Make unit tests more self contained 2014-11-26 08:41:33 -05:00
David Norton 136324a4be Fix CreateShardIfNotExists and spelling error 2014-11-26 08:41:33 -05:00
David Norton c251de96ed Wire up /db/:db/retention_policies 2014-11-26 08:41:33 -05:00
David Norton 82d147e9c4 Wire up /db/:db/shards 2014-11-26 08:41:33 -05:00
David Norton 0137f58f88 Use shards map instead of looping 2014-11-26 08:41:33 -05:00
Philip O'Toole 68d30ae722 Increase time "added" for single node test
Wait()ing for the log the be applied can take 2 loops. Due to this the
timer used to trigger the 3rd check is pushed too far into the future.
So push the clock even farther into the future.

As a result, all Travis testing can be re-enabled.
2014-11-25 22:52:58 -08:00
David Norton 26ecd06ef5 Change Wild to Wildcard and move test 2014-11-25 18:23:10 -05:00
David Norton f8073bf287 Make influxql parse SELECT * 2014-11-25 17:43:22 -05:00
Todd Persen 03a8d975a9 Start on a sample queries doc. 2014-11-25 17:27:34 -05:00
David Norton af86d7cb1c Add TODO for parsing SELECT * 2014-11-25 17:07:17 -05:00
Philip O'Toole 078ff526d4 Merge pull request #1167 from otoolep/seed_test_fixes
Remove test of obsolete config param
2014-11-25 13:47:06 -08:00
Philip O'Toole 2fc856ae77 Merge pull request #1168 from otoolep/changelog
Add Loopback client support to change log
2014-11-25 13:46:38 -08:00
Philip O'Toole ae4b2d4fd8 Add Loopback client support to change log 2014-11-25 13:45:36 -08:00
Philip O'Toole d08588aad2 Remove test of obsolete config param 2014-11-25 13:41:57 -08:00
Philip O'Toole ca9471cb7b Merge pull request #1166 from otoolep/open_server
Open the Server object
2014-11-25 13:25:08 -08:00
Philip O'Toole 80796a0e47 Revert "Revert "Merge pull request #1158 from otoolep/bringup""
This reverts commit af33cbf72d.
2014-11-25 13:19:26 -08:00
Philip O'Toole 07a9cd11f0 Merge pull request #1157 from otoolep/seed_servers
Set the seed servers at the command line
2014-11-25 08:11:37 -08:00
Philip O'Toole 6ed0624471 Support Local mode via a Loopback messaging client
This change adds a simple loopback client to the system. It also moves
setting the seed servers to the command line, and removes control from
the configuration file.
2014-11-25 07:56:39 -08:00
Philip O'Toole 98e3af0f6c Print very early exit errors to stdout
Without this a missing config file results in no feedback to the user
2014-11-25 07:52:20 -08:00
Ben Johnson d78bc751c9 Fix influxql.Parse() references. 2014-11-25 08:48:10 -07:00
Todd Persen 21b02d1ec8 Bump up the number of open files. 2014-11-25 10:25:13 -05:00
Ben Johnson 924cc47e12 Merge pull request #1159 from influxdb/parser
Parser
2014-11-25 07:53:01 -07:00
Ben Johnson dc67d2f0aa Add microsecond support to influxql.ParseDuration. 2014-11-24 23:43:23 -07:00