Commit Graph

2970 Commits (7443e1323a5d172f832011359b01625a52d939b7)

Author SHA1 Message Date
David Norton 7443e1323a influxql: add DROP USER statement 2015-01-04 22:56:25 -05:00
David Norton e62efba6ed influxql: add DROP DATABASE statement 2015-01-04 22:32:49 -05:00
David Norton 52c0bf0fa2 influxql: refactor ParseStatement 2015-01-04 22:03:18 -05:00
David Norton 96e8f96d13 influxql: add CREATE RETENTION POLICY statement 2015-01-04 21:50:56 -05:00
David Norton 09a8a925e8 influxql: add REVOKE statement 2015-01-03 02:06:47 -05:00
David Norton 87922c4202 influxql: add GRANT statement 2015-01-03 02:06:47 -05:00
David Norton 03694fd6c0 influxql: add CREATE USER statement 2015-01-03 02:06:47 -05:00
David Norton 4739cc8c1d remove RETENTION POLICY from CREATE DATABASE 2015-01-03 02:06:47 -05:00
David Norton 4ede864d13 influxql: add CREATE DATABASE 2015-01-03 02:06:47 -05:00
David Norton b2a2b73bd9 influxql: add tokens for user & DB admin 2015-01-03 02:06:47 -05:00
David Norton a303d15617 Propose DROP & REVOKE syntax for DB and user 2015-01-03 02:06:47 -05:00
David Norton 7683eb6754 Add WITH PASSWORD & RETENTION POLICY 2015-01-03 02:06:47 -05:00
David Norton f6c1b75cef Propose user & permissions query syntax 2015-01-03 02:06:46 -05:00
Paul Dix 7743310432 Merge pull request #1264 from influxdb/in_mem_tag_index
Add in memory tag and metastore index
2015-01-02 14:28:25 -05:00
Paul Dix 70ad990208 Remove series id to measurement map, put in series object 2015-01-02 14:24:48 -05:00
Paul Dix b6691e035c More style updates 2015-01-02 14:13:45 -05:00
Paul Dix b42def229a Update database style based on feedback 2015-01-02 14:02:02 -05:00
Paul Dix d5548aa136 Refactor Index into database
* Pull database, Measurement, Series, ReplicationPolicy, and Shard into database.go to keep things manageable and clean
* Remove the locks from the index method. The server will handle thread safety for database objects
* Move the Index tests into database_test.go and in the influxdb package because we're not exporting database
2014-12-31 18:55:45 -05:00
Philip O'Toole 3143127402 Merge pull request #1282 from influxdb/associatibity_unit_test
Add unit test for change made by PR 1273
2014-12-31 18:53:05 -05:00
Philip O'Toole f37f0b80fa Add unit test for change made by PR 1273 2014-12-31 15:50:10 -08:00
Philip O'Toole ff4ec329a8 Merge pull request #1281 from influxdb/fix_filterExprBySource_comment
Fix filter expr by source comment
2014-12-31 17:37:51 -05:00
Philip O'Toole ba0745e244 Fix comment for filterExprBySource 2014-12-31 14:35:30 -08:00
Ben Johnson 80977aa375 Merge pull request #1280 from influxdb/combine-exec
Create cluster on initial run
2014-12-31 13:55:04 -07:00
Ben Johnson 7db96f795a Remove magic number. 2014-12-31 13:50:34 -07:00
Paul Dix b268ffecb8 Wire up getting measurements by a collection of series ids 2014-12-31 15:10:47 -05:00
Ben Johnson 9b1d9df868 Add --role to 'run'. 2014-12-31 12:55:27 -07:00
Paul Dix 3aa46c6b8a Wire up TagValues on index. 2014-12-31 14:54:28 -05:00
Philip O'Toole 05489f4827 Merge pull request #1279 from influxdb/fix_unit_test
Fix unit test so filterExprBySource fix is tested
2014-12-31 14:44:41 -05:00
Ben Johnson dbb089488f Create cluster on initial run. 2014-12-31 12:42:53 -07:00
Philip O'Toole a45a08cccf Fix unit test so filterExprBySource fix is tested
The change introduced by:

    https://github.com/influxdb/influxdb/pull/1269

was not actually being tested.
2014-12-31 11:41:54 -08:00
Paul Dix 0f64a29d78 Fix merge conflicts 2014-12-30 17:50:55 -05:00
Ben Johnson 70d561aa6f Refactor main/run. 2014-12-30 15:46:50 -07:00
Paul Dix f763060b68 Refactor measurementIndex into the measurement object.
* Updated megastore to build the per database index for the server object
* Changed Server to have MeasurementNames and MeasurementSeriesIDs methods instead of generic Measurement method.
2014-12-30 16:45:58 -05:00
Paul Dix 6556ccd628 Update QUERIES.md
make changes to how list tag values works.
2014-12-30 14:40:44 -05:00
Ben Johnson d626ea5b3d Merge pull request #1274 from influxdb/raft-prefix
Fix tests for /raft prefix
2014-12-30 12:00:23 -07:00
Ben Johnson 6941dc0c61 Fix tests for /raft prefix. 2014-12-30 11:57:57 -07:00
Ben Johnson 77322731fa Merge pull request #1273 from blmarket/change-default-assoc
Change influxql default associativity from right to left.
2014-12-30 11:54:22 -07:00
Ben Johnson 97e3dc90df Merge pull request #1269 from blmarket/master
Fix not to reuse unfiltered expr for filterExprBySource
2014-12-30 11:52:25 -07:00
Ben Johnson 29361bac41 Merge pull request #1272 from influxdb/nodes
Add node management
2014-12-30 10:44:24 -07:00
Ben Johnson bb7cdfb2af Reanme Shard.nodeIDs to Shard.dataNodeIDs. 2014-12-30 10:20:45 -07:00
Paul Dix 4716e0c03d Small stype changes based on feedback 2014-12-30 11:03:45 -05:00
Ben Johnson 957ea91997 Add DataNode autoincrementing sequence. 2014-12-30 09:01:19 -07:00
Ben Johnson ebb82a91fd Remove data node sort in the metastore. 2014-12-30 08:53:07 -07:00
Ben Johnson e88bd55762 Rename Node to DataNode. 2014-12-30 08:50:15 -07:00
Paul Dix 17568b264d Small style changes based on @benbjohnson's feedback. 2014-12-30 10:25:54 -05:00
Paul Dix 6481c94162 Wire up tag keys
* Add index for sorted measurement names
* Add TagKeys method
2014-12-30 08:09:31 -05:00
Paul Dix d0d36b73c1 Add last test cases for SeriesID with filter 2014-12-30 07:41:26 -05:00
Heon Jeong a59be31449 Change influxql default associativity from right to left.
Closes #1266

modified one testcase as it was depending on right
associativity.
2014-12-30 10:20:12 +09:00
Heon Jeong 5736cbe2fc Fix not to reuse unfiltered expr for filterExprBySource
`return expr` in the last line of `filterExprBySource` can
return unfiltered results, so fixing it by reconstruction
using filtered elements.

also added a test which can cause this problem.
2014-12-30 09:57:45 +09:00
Ben Johnson a04eb398cf Add node management. 2014-12-29 16:12:51 -07:00