Gabriel Taylor-Russ
8c3269bc79
Fill in test for creating a continuous query but specifying a nonexistant retention policy
2015-05-07 17:26:03 -07:00
Gabriel Taylor-Russ
4152f35c29
Fill in test for CreateContinuousQuery when DatabaseNotFound error is raised
2015-05-07 16:47:44 -07:00
Gabriel Taylor-Russ
1fff68ddf1
Filled in test for empty path being passed to Server.Open
...
Filled in test for Server.Open being called on already open server
2015-05-07 11:38:34 -07:00
Philip O'Toole
e75e6a9526
Add HTTP endpoint that serves a requested shard
...
With this change a datanode can stream the requested shard to the
client. An error is returned if the shard does not exist or the the
shard is not local to that node.
1 data node can hit this endpoint to request data for a given shard if
the data no longer resides on the broker.
2015-04-22 09:29:19 -07:00
Philip O'Toole
6415d3371f
Revert deliberate failing change to unit test
2015-04-16 10:57:01 -07:00
Philip O'Toole
a682b39732
Force a test failure to test new CI process
2015-04-16 10:52:35 -07:00
Philip O'Toole
119b39597c
Give enough time for writes to occur
...
A sync flag is what is really needed here.
2015-04-13 12:46:06 -07:00
Philip O'Toole
96a81826ec
Support int64 data types
2015-04-13 11:04:27 -07:00
Todd Persen
ff15388db8
Merge pull request #2121 from influxdb/fix-2015
...
Parser refactor
2015-04-09 10:47:04 -07:00
Philip O'Toole
0e3c7a3e6c
Disable CQ test
2015-04-09 10:32:07 -07:00
David Norton
25cea58635
refactor scanning & parsing of identifiers
2015-04-09 13:21:13 -04:00
Cory LaNou
fbb89a575e
more time?
2015-04-08 17:59:46 -06:00
Cory LaNou
839dac9894
enhance test output
2015-04-08 17:52:22 -06:00
Cory LaNou
6d602456ab
update test comment
2015-04-08 15:35:57 -06:00
Cory LaNou
cb4b18ebe7
enable continuous query testing
2015-04-08 13:58:34 -06:00
Jari Sukanen
704691454d
server: rename influxdb.Results type to influxdb.Response (issue: #2050 )
...
Rename influxdb.Results to influxdb.Response as it already has Results
property itself. Renaming it to Response makes code look much less
ugly.
2015-04-04 12:17:33 +03:00
Paul Dix
6c46a5c83b
Add chunked responses and streaming of raw queries.
...
Refactored query engine to have different processing pipeline for raw queries. This enables queries that have a large offset to not keep everything in memory. It also makes it so that queries against raw data that have a limit will only p
rocess up to that limit and then bail out.
Raw data queries will only read up to a certain point in the map phase before yielding to the engine for further processing.
Fixes #2029 and fixes #2030
2015-04-02 15:22:27 -07:00
Paul Dix
332c42750b
Update server and handler to work with streamed responses
2015-04-02 15:22:27 -07:00
Jason Wilder
91fb7e3756
Track data node urls on brokers
...
This sends data node urls via the broker heartbeat from each data
node. The urls are tracked on the broker to support simpler
cluster setup as well as distributed queries.
2015-04-02 11:27:53 -06:00
Philip O'Toole
c461c7e7b4
Remove logging to specific file
2015-03-25 17:41:39 -07:00
Todd Persen
94a8019fc7
Wire up DROP CONTINUOUS QUERY
2015-03-25 11:58:33 -07:00
Ben Johnson
21782c0a67
Merge branch 'master' of https://github.com/influxdb/influxdb into backup-restore
2015-03-24 16:05:49 -06:00
Philip O'Toole
14585db38b
Move TestServer_RawDataReturnsInOrder to int tests
...
Fix #2052
2015-03-23 12:14:15 -07:00
Ben Johnson
3befa12fa3
Merge branch 'master' of https://github.com/influxdb/influxdb into backup-restore
...
Conflicts:
cmd/influxd/main.go
cmd/influxd/run.go
2015-03-22 15:38:41 -06:00
Philip O'Toole
2a4032a9a5
TestServer_LimitAndOffset to integration test
2015-03-20 20:54:40 -07:00
Philip O'Toole
8b48ff9a28
Move MergeMany to integration test
2015-03-20 16:32:34 -07:00
Ben Johnson
0461f401f6
Add SnapshotWriter.
2015-03-19 22:23:52 -06:00
Philip O'Toole
05fb2842ba
Use _id for Series IDs
...
Fix issue #2008
2015-03-19 19:04:07 -07:00
Philip O'Toole
521cddb2a7
Move TestServer_ExecuteWildcardGroupBy
2015-03-18 17:37:08 -07:00
Philip O'Toole
c95af24e43
Move TestServer_ExecuteWildcardQuery
2015-03-18 17:27:20 -07:00
Philip O'Toole
b5d5ce070f
Move TestServer_DropMeasurementSeriesTagsPreserved
2015-03-18 17:21:10 -07:00
Philip O'Toole
82136aab65
Move TestServer_ExecuteQuery to integration tests
2015-03-18 16:53:06 -07:00
Philip O'Toole
f2b865e009
TestServer_WriteSeries is redundant, so remove it
2015-03-18 16:17:05 -07:00
David Norton
62ae32b0ce
wire up regex in FROM clause
2015-03-16 19:40:59 -04:00
Ben Johnson
06d839223e
Integration test delay.
2015-03-14 14:31:25 -06:00
Philip O'Toole
9989a6a400
Tweak comments for database creation tests
2015-03-14 12:38:00 -07:00
Giulio Iotti
2cc2077c3d
do not accept empty database name in drop
2015-03-14 21:31:44 +02:00
Giulio Iotti
38bb2cf62e
do not allow empty database name, closes #1950
2015-03-14 15:39:22 +02:00
Cory LaNou
932b6ddc81
Sort wildcard expresion field names for consistent output
2015-03-13 16:51:18 -06:00
Cory LaNou
eda74a25f1
allow offset 0
2015-03-12 18:20:58 -06:00
Ben Johnson
4b9a93d924
Merge branch 'master' of https://github.com/influxdb/influxdb into stateless-broker
2015-03-12 15:46:04 -06:00
Paul Dix
69d6f74328
Merge pull request #1926 from influxdb/fix-group-by-times
...
Fix issue with time buckets and improve performance
2015-03-12 11:43:03 -07:00
Ben Johnson
7880bc2452
Add zero length data checks.
2015-03-12 12:12:26 -06:00
Ben Johnson
7ab19b9f91
Merge branch 'master' of https://github.com/influxdb/influxdb into stateless-broker
2015-03-12 11:59:55 -06:00
Cory LaNou
8655ed3d91
fixing default retention policy creation
2015-03-12 10:01:26 -06:00
Paul Dix
63111a374c
Fix issue with time buckets and improve performance
...
When the start time fell in the middle of a group by bucket, the times for all buckets would be off by the amount of that stat time. This fixes it so group by windows are always on the bucket. However, if the user specifies a start time in the middle of a bucket, the very first bucket will only have whatever data in it that is past the start time (so it'll be a partial)
Also fixed a performance bug where if someone issued a query like: `SELECT mean(value) FROM foo GROUP BY time(10s) LIMIT 3`. Previously, the engine would create emtpy values for every 10s window since 1970, then limit it afterwards. Now, it'll just create value holders for the 3 buckets we need.
2015-03-11 19:33:55 -07:00
Ben Johnson
5f6bcf523f
Fix broker integration bugs.
2015-03-11 12:00:45 -06:00
Cory LaNou
f6121a9b63
fixing edge case for infinite retention policy
2015-03-11 10:14:53 -06:00
Ben Johnson
66115f95ca
Merge branch 'master' of https://github.com/influxdb/influxdb into stateless-broker
...
Conflicts:
cmd/influxd/run.go
messaging/broker.go
messaging/client.go
messaging/client_test.go
messaging/intg_test.go
server.go
tx_test.go
2015-03-10 16:27:37 -06:00
Ben Johnson
27e9132796
Integrate stateless broker into remaining packages.
2015-03-10 14:53:45 -06:00