Commit Graph

131 Commits (70836bc87d7cd052b6e3ff84226a71069c454947)

Author SHA1 Message Date
Philip O'Toole 51e98b85ef Support sorting of retention policies
Sort them by name.
2015-03-23 17:27:15 -07:00
Todd Persen 4ee1216052 Merge pull request #1978 from influxdb/fix-1832
fix #1832: support regex in FROM clause
2015-03-18 11:20:30 -07:00
Cory LaNou dc1a103ec9 Drop measurement was taking to long due to transactions 2015-03-17 11:44:08 -06:00
David Norton 62ae32b0ce wire up regex in FROM clause 2015-03-16 19:40:59 -04:00
Cory LaNou 436d20fec1 Merge pull request #1897 from influxdb/proactively-create-shard-groups
Pre-create shard groups
2015-03-09 20:03:12 -06:00
Cory LaNou 686d6b9bfe split is now dynamically calculated 2015-03-09 18:58:31 -06:00
Paul Dix cf060e064a Fix build error after merge 2015-03-09 17:25:02 -07:00
Paul Dix acb75b9967 Merge pull request #1892 from influxdb/fix-raw-ordering-filters
avoid unnecessary call to walkWhereForSeriesIds
2015-03-09 17:14:02 -07:00
Paul Dix 3628fbe7cd Updates based on PR feedback 2015-03-09 16:32:55 -07:00
Cory LaNou 67f03ef26b Pre-create shard groups
1) Pre create shard groups

2) Calculate and save the ShardGroupDuration for Retention Policies. This should never change even if they alter a retention policy in the future
2015-03-09 17:30:17 -06:00
Paul Dix b173e6a380 Fix bug with where clauses on tags, time, and fields 2015-03-09 16:00:20 -07:00
David Norton de852c8e63 avoid unnecessary call to walkWhereForSeriesIds 2015-03-09 15:49:13 -04:00
Paul Dix 08ecaabc16 Fix decodes on multiple fields. Remove debug info. Update tests to match new query engine output. 2015-03-09 11:17:36 -07:00
Paul Dix 93f3a229c6 Fix merge conflicts 2015-03-06 16:30:26 -08:00
Paul Dix df3c0099e1 WIP: wire up raw queries 2015-03-06 11:23:58 -08:00
Philip O'Toole bf55c0fc23 Explain what zero duration means for retention 2015-03-05 15:30:04 -08:00
Philip O'Toole f0c7a6b7e7 Check for LT, LTE, GT, GTE
Add relevant unit tests
2015-03-02 18:30:48 -08:00
Philip O'Toole 8196a49308 Condition is set, tests still fail 2015-03-02 15:15:58 -08:00
Paul Dix 74e6f1f4db WIP: query language refactoring compiles. mores soon 2015-03-01 22:37:09 -08:00
David Norton 0d4a8dcc2b fix #1764: panic index out of range 2015-02-27 11:53:02 -05:00
Cory LaNou 234a04553d adding better error message to return 2015-02-26 17:10:09 -07:00
Joseph Rothrock f44f707237 moved Trim()
Issue: 1729

Moved strings.Trim down to the for loop that iterates
over tag keys.
2015-02-26 13:33:28 -08:00
Joseph Rothrock 661482937f Support keys wrapped in dbl quotes
Issue: 1729

Trim off any leading or lagging dbl quotes.
2015-02-26 12:40:30 -08:00
Cory LaNou b49a1ab3c5 clarify comments 2015-02-25 12:55:58 -07:00
Cory LaNou fb2f7416ed drop shard data 2015-02-25 12:42:23 -07:00
Cory LaNou a151fe64d4 deleting data from metastore. wip 2015-02-25 12:42:23 -07:00
Paul Dix 0d05ca3e4e Merge pull request #1689 from influxdb/show_tag_values
Simple change so "SHOW TAG VALUES" is as expected
2015-02-23 23:47:56 -05:00
Philip O'Toole 149015a93c Remove field value count when writing to disk
Fixes issue #1636
2015-02-23 18:58:15 -08:00
Philip O'Toole 86b91ead94 "SHOW TAG VALUES" now outputs series per tag key
This change tightens up the type used for "Series" so the pre-existing
sort method can be used.
2015-02-23 17:15:55 -08:00
Paul Dix 89b80dcd66 WIP: insane refactor of engine. Must come back later. 2015-02-23 18:07:01 -05:00
Cory LaNou c8afd6242a deleteing a key that does not exist is ok 2015-02-21 22:29:37 -07:00
Cory LaNou 8637a10b6a start with seriesByMeasurement 2015-02-21 22:18:25 -07:00
Cory LaNou 3e94c14ef2 no need to resort 2015-02-21 21:15:14 -07:00
Cory LaNou b53d02fc05 delete correct map 2015-02-21 20:20:16 -07:00
Cory LaNou 5df9726c3b fix deleting from crazy map 2015-02-21 17:21:27 -07:00
Cory LaNou 2752ada587 moving more responsibility to database.dropSeries 2015-02-21 17:21:27 -07:00
Cory LaNou 6114c8138e refactoring drop series 2015-02-21 17:21:27 -07:00
Cory LaNou 5ab3731159 delete -> drop for series naming 2015-02-21 17:18:50 -07:00
Cory LaNou 4948b62784 first working version of drop series. more testing to come 2015-02-21 17:10:11 -07:00
Cory LaNou 6d5be3da25 wip. compiles now. tests next 2015-02-21 17:10:11 -07:00
David Norton 9bff9cdeee issue #1431: wire up regex queries 2015-02-21 15:38:35 -05:00
Philip O'Toole 4c28e63a93 Restore helpful field type conflict error message 2015-02-20 11:28:07 -08: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 2d08d6e288 Fix errors after master rebase. 2015-02-17 21:01:22 -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
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 ae81dff9f6 Use Field codec in debug code 2015-02-16 16:43:35 -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
Philip O'Toole dcdb4b77a1 Merge branch 'master' into support_all_value_types
Conflicts:
	database.go
	server.go
2015-02-16 09:21:10 -08:00