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
Paul Dix
c21c7e689f
Fix CQ multiple aggregation example
2015-02-17 20:59:57 -05:00
Paul Dix
a8b389f6de
Add more explanation, update security to force admin user
2015-02-17 20:59:57 -05:00
Paul Dix
6108d5b458
Fix name of continuous queries doc
2015-02-17 20:59:57 -05:00
Paul Dix
c7b31cd560
Update continuous query doc based on feedback
2015-02-17 20:59:57 -05:00
Paul Dix
083b99c972
Add doc describing continuous queries
2015-02-17 20:59:57 -05:00
Philip O'Toole
d6348f5ed8
Merge pull request #1628 from influxdb/more_git_ignore
...
More ignore patterns for binaries
2015-02-17 15:32:26 -08:00
Philip O'Toole
caf378b436
Merge pull request #1627 from influxdb/remove_write_log
...
Remove debug line that is output unconditionally
2015-02-17 15:24:25 -08:00
Philip O'Toole
11cb0281e1
More ignore patterns for binaries
2015-02-17 15:24:07 -08:00
Philip O'Toole
baf32a0a9b
Remove debug line that is output unconditionally
2015-02-17 15:15:29 -08:00
Todd Persen
e6db59a2ce
Merge pull request #1626 from influxdb/typo
...
fix typo stuct to struct
2015-02-17 14:34:08 -08:00
Frontend
bacd500a7f
fix typo stuct to struct
2015-02-17 16:53:31 -05:00
Philip O'Toole
cd87583d65
Merge pull request #1580 from influxdb/support_all_value_types
...
Support all value types
2015-02-17 13:19:32 -08:00
Philip O'Toole
e74fadfd53
Merge branch 'master' of github.com:influxdb/influxdb into support_all_value_types
2015-02-17 12:55:12 -08:00
Philip O'Toole
3810fb55a9
Unit test writing boolean types
2015-02-17 12:37:24 -08: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
b564b90171
Rename test case for clarity
2015-02-17 12:04:10 -08:00
Philip O'Toole
0ebd7858fc
Merge pull request #1620 from influxdb/ignore_daemon
...
Ignore influxd regardless of path
2015-02-17 12:02:03 -08:00
Philip O'Toole
a7f9c7e02a
Ignore influxd regardless of path
2015-02-17 11:55:20 -08:00
Cory LaNou
cf25e6042a
Merge pull request #1619 from influxdb/contributing-go-cover
...
add reference go getting go cover tool
2015-02-17 12:46:29 -07:00
Cory LaNou
70d7b93e94
removing whitespace
2015-02-17 12:41:35 -07:00
Cory LaNou
4a3a1c3079
add reference go getting go cover tool
2015-02-17 12:35:11 -07:00
Philip O'Toole
bc1640f78a
Filenames in github are case-senstive
2015-02-17 11:29:40 -08:00
Cory LaNou
1d0e4f7622
Merge pull request #1618 from influxdb/update-readme-contributing
...
update link for contributing.md. fixes #1617
2015-02-17 11:46:57 -07:00
Cory LaNou
c8b557dba1
update link for contributing.md. fixes #1617
2015-02-17 11:12:23 -07:00
Philip O'Toole
ae81dff9f6
Use Field codec in debug code
2015-02-16 16:43:35 -08:00
Philip O'Toole
571fde8d3a
Use dedicated decoded in cursor
2015-02-16 16:39:11 -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
Ben Johnson
f6ceb9bd32
Refactor raft state handling.
...
This commit changes the state handling of the raft log. The actions
for related to each raft state are strictly confined within that state's
loop. To transition between states, the raft log now much clean up all
its actions before moving on.
This fixes issues where goroutines were kicked off for one state but
were delayed in their scheduling so they would begin after the log
had already changed to another state.
2015-02-16 15:45:37 -07:00
Philip O'Toole
8cdee6a997
Clarify use of ReadSeries()
2015-02-16 10:28:06 -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
Philip O'Toole
7b4d2675b0
Merge pull request #1614 from influxdb/only_update_meta_new_fields
...
Only update Metastore if new fields were created
2015-02-15 17:16:37 -08:00
Philip O'Toole
9db17a7e09
Only update Metastore if new fields were created
...
It is quite possible that multiple applyCreateFieldsIfNotExist messages
will sit unapplied in the Raft commit log, each carrying exactly the same
information about new fields. So during application of this message only
change the Metastore if the fields actually changed.
2015-02-15 16:58:29 -08:00
Philip O'Toole
c90d27083c
Merge pull request #1613 from influxdb/broadcast_field_types
...
Unit test field conflict detection
2015-02-15 15:50:18 -08:00
Philip O'Toole
ca1f21fc6f
Unit test field conflict detection
2015-02-15 15:48:19 -08:00
Philip O'Toole
a8d57f1f3d
Merge pull request #1605 from influxdb/broadcast_field_types
...
Broadcast field types
2015-02-15 15:39:41 -08:00
Philip O'Toole
b6ca46c5bd
Remove stubbed out unit test for field creation
...
This file only tests exported calls, so instead testing is now present
at the HTTP handler level.
2015-02-15 15:28:42 -08:00
Philip O'Toole
02db5a3484
Unit test that fields are recorded correctly
...
This test checks that a non-existent field is flagged correctly during a
query.
2015-02-15 15:26:11 -08:00
Philip O'Toole
6f150da719
Wait briefly to ensure data is written
2015-02-15 12:22:58 -08:00
Philip O'Toole
7955513f61
Add simple write-and-query test case
...
The test case "TestHandler_serveWriteSeriesZeroTime" is actually failing
under certain circumstances, giving the impression that there is
something special about the case where the timestamp is not supplied. In
fact this is not the case, and even a write with a timestamp specified
is failing. Therefore add another test case that covers that case.
2015-02-15 12:17:41 -08:00
Paul Dix
4cd3494ddc
Update interface on iterator.Next() to pass raw data along with key and value
2015-02-14 17:12:38 -05:00
Paul Dix
4e68828c58
WIP: update signature of iterator in tx.go
2015-02-14 10:24:35 -05:00
Philip O'Toole
276c5ded5a
int maps to influxql.Number
2015-02-13 16:28:12 -08:00
Philip O'Toole
9061a70953
Don't perform marshalling during field creation
2015-02-13 15:59:46 -08:00