Commit Graph

434 Commits (c63866ea62867b36842d24bc082ebbfbeed97ea1)

Author SHA1 Message Date
Jason Wilder c63866ea62 Remove Broker.Timout config
Not used
2015-04-06 16:38:00 -06:00
Jason Wilder 18db6fa7ba Separate baseline config from test config 2015-04-06 16:38:00 -06:00
Jason Wilder 45a2db9f0d Rename graphite/collect bind address config var name
Make it consistent w/ pre-existing "bind-address config options.
2015-04-06 16:37:59 -06:00
Jason Wilder 524e0719ed Add missing tests for snaphost config 2015-04-06 16:37:59 -06:00
Jason Wilder 384e3f3683 Add tests for config data/broker enabled 2015-04-06 16:37:59 -06:00
Jason Wilder eb9956b844 Rename ContinuouseQuery Disable to Disabled
Match Broker and Data config var names
2015-04-06 16:37:59 -06:00
Jason Wilder dcb3e85e84 Add a enabled config option for broker and data options 2015-04-06 16:37:59 -06:00
Jason Wilder 358bb9b3d9 Convert flag.String to flag.StringVar 2015-04-06 16:37:59 -06:00
Jason Wilder 5918d48f73 Allow passing config to RunCommand.Open 2015-04-06 16:37:59 -06:00
Jason Wilder 070bb3ccc6 Add logger to RunCommand 2015-04-06 16:37:59 -06:00
Jason Wilder 82b3108f6d Refactor execRun to RunCommand 2015-04-06 16:37:59 -06:00
Jason Wilder 88f9810ea9 Refactor help into command 2015-04-06 16:37:59 -06:00
Jason Wilder c356ff6483 Return fmt.Errorf() 2015-04-06 16:29:00 -06:00
Philip O'Toole dbb7d2a319 Tweak openTSDB changes and update CHANGELOG 2015-04-06 11:10:50 -07:00
Tristan Colgate-McFarlane 32d6433c04 OpenTSDB server interface
Add an input collector for the OpenTSDB telnet protcol
2015-04-05 10:29:49 +01:00
Jari Sukanen a56ea6f191 client: rename client.Results type to client.Response (issue: #2050)
Rename client.Results to client.Response as it already has Results
property itself. Renaming it to Response makes code look much less
ugly.
2015-04-04 11:43:53 +03:00
Jason Wilder 9ee0f6445e Fix broker connect race at startup
When a data node starts up, the broker URLs were not set before
they were actually being used.  The call to client.Open() in
turn triggers the raft streamer and heartbeat which try to connect
to the broker.   If those started before the subsequent client.SetURLs()
call, you would see the following error in the logs at startup:

[messaging] 2015/04/01 11:59:22 reconnecting to broker: url={  <nil>  /messaging/messages index=2&streaming=true&topicID=0 }, err=Get /messaging/messages?index=2&streaming=true&topicID=0: unsupported protocol scheme ""

Fixing this race uncovered another bug where the join urls would be
cleared the first time the broker was started.  In this case, the
join urls should be left alone since they were set properly w/ SetURLs.

Fixes #2152
2015-04-03 21:04:42 -06:00
Jason Wilder 6d4c7e9cd5 Handle broker and data node endpoints regardless of role
This is a pre-requisite for #1934.  When running separate
broker and data nodes, you currently need to know what role
a host is performing.  This complicates cluster setup in
that you must configure separate broker URLs and data node
URLs.

This change allows a broker only node to redirect data nodes endpoints
to a valid data node and a data only node to redirect broker
endpoints to a valid broker.
2015-04-03 21:00:43 -06:00
Todd Persen 82bf75c691 Merge pull request #2150 from runner-mei/connection_refused
Make InfluxDB win32 friendly, fix unit test is failed on the windows and it is for connection refused.
2015-04-03 16:31:51 -07:00
Philip O'Toole 84d590ce44 Monitoring database should not be configurable 2015-04-03 14:40:36 -07:00
Philip O'Toole 5df05d1256 It's for stats and diags, not just diags 2015-04-03 14:26:17 -07:00
Philip O'Toole a8559cc37d Unit test OR tags 2015-04-03 11:41:16 -07:00
runner.mei 6a7cb61f6d fix unit test is failed with connection refused on the win32 2015-04-03 13:48:52 +08:00
Paul Dix f3dce09621 uncoment raw ordering test 2015-04-02 15:22:27 -07:00
Paul Dix c4b780d8b2 remove xxx before integration test 2015-04-02 15:22:27 -07: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
Philip O'Toole 7b720b6169 Unit-test two queries in a single request 2015-04-02 11:38:39 -07:00
Philip O'Toole 8a9f8d0eda Add simple test that results in entries in values 2015-04-02 11:36:02 -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
Jason Wilder 0af6d1006d Move RestoreCommandTest to integration tests 2015-04-02 10:22:28 -06:00
Cory LaNou 8fa3571782 only need max procs for running 2015-04-02 10:27:35 -05:00
Cory LaNou e7866d3600 Set Go Max procs in a better location 2015-04-02 09:33:09 -05:00
Cory LaNou 87c3c46208 encode toml durations correctly 2015-04-01 20:20:04 -05:00
Philip O'Toole a7d904778a Correctly filter series for NEQREGEX
Series that do not have any tags are considered matching in the NEQREGEX
case so the must be explicitly added.
2015-03-31 16:14:30 -07:00
Philip O'Toole 60149cf7b5 Unit test EQ and NEQ tag query 2015-03-31 16:14:30 -07:00
Philip O'Toole 26b2a2662c Add unit test showing issue #1604 is fixed 2015-03-31 16:14:30 -07:00
Philip O'Toole 70d57d399d Check if the tag filter is a NOT
If so, then return all series IDs which do not match.

Fix for issue #2097
2015-03-31 16:14:30 -07:00
Paul Dix d8aca6029d Remove logo output on startup and output gomaxprocs setting 2015-03-29 19:01:38 -04:00
Ben Johnson 24db5f23e1 Set GOMAXPROCS. 2015-03-29 15:39:43 -06:00
Philip O'Toole 1b700264a7 Also include NEQ in filters
This fixes != for field value comparisons.
2015-03-27 23:07:57 -07:00
Philip O'Toole a0e9daee63 SHOW DATABASES returns series name "databases" 2015-03-27 16:24:57 -07:00
Philip O'Toole 3e59dac0fb Allow integration tests to be skipped 2015-03-27 11:28:19 -07:00
Philip O'Toole 8fe4e428a7 Bring 3-node test back online 2015-03-27 10:45:38 -07:00
Philip O'Toole a23984a840 Allow int tests to query only 1 node 2015-03-27 10:45:38 -07:00
Philip O'Toole 5e08351a27 Merge pull request #2087 from influxdb/_internal_not_internal
Use _internal as default self-monitoring database
2015-03-26 17:13:44 -07:00
Philip O'Toole efdb7e89e2 Disable snapshot endpoint during testing
Once we have proper endpoint layering, this can be re-enabled.
2015-03-26 16:25:30 -07:00
Philip O'Toole f829355e3e Allow snapshot endpoint to be disabled
Fix isse #2086
2015-03-26 16:13:23 -07:00
Philip O'Toole 1e10c46ea1 Remove all backup test paths 2015-03-26 14:58:07 -07:00
Philip O'Toole 7a5f66c75a Use _internal as default self-monitoring database 2015-03-26 14:12:14 -07:00
Philip O'Toole f22778a41f Merge pull request #2085 from influxdb/leading_underscores
Test leading underscores
2015-03-26 13:52:59 -07:00