Commit Graph

4841 Commits (7e58f9827ef9dab32893d9922c36c507e8e91a36)

Author SHA1 Message Date
Philip O'Toole 7e58f9827e Merge pull request #870 from tcolgate/feature/opentsdb-input
Add a OpenTSDB input protocol
2015-04-06 10:55:51 -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
Todd Persen 475cdef884 Update CHANGELOG.md 2015-04-04 12:58:14 -07:00
Philip O'Toole 8a0f67fcb4 Merge pull request #2166 from influxdb/dont_panic_on_missing_field_mapping
Don't panic if presented with a field of unknown type
2015-04-04 10:39:15 -07:00
Philip O'Toole 501b4ceedb Don't panic if presented with a field of unknown type
This can happen, though is very unlikely. If this node receives encoded
data, to be written to disk, and is queried for that data before its
metastore is updated, there will be no field mapping for the data during
decode. All this can happen because data is encoded by the node that first
received the write request, not the node that actually writes the data to
disk. So if this happens, skip the data.
2015-04-04 10:33:56 -07:00
Todd Persen 48f491fb09 Merge pull request #2168 from influxdb/stale-term
Return term from vote, add term logging.
2015-04-04 10:04:18 -07:00
Ben Johnson 3d71d45cf6 Return term from vote, add term logging. 2015-04-04 10:59:50 -06:00
Paul Dix 8d785b5221 Update CHANGELOG.md 2015-04-04 11:29:58 -04:00
Paul Dix fb52703b13 Merge pull request #2137 from peekeri/influx-2050
Refactor Results to Response (#2050)
2015-04-04 11:28:19 -04:00
Ben Johnson fbca2b1caa Merge pull request #2167 from influxdb/broker-recovery
Broker log recovery
2015-04-04 08:24:58 -06:00
Ben Johnson fd96e245cb Merge branch 'master' of https://github.com/influxdb/influxdb into broker-recovery
Conflicts:
	CHANGELOG.md
2015-04-04 08:09:06 -06:00
Ben Johnson ba3026f400 Broker log recovery.
This pull request adds recovery to the messaging.Topic when opening. If
any partial messages are found then the file is truncated at that point
and started from there. This can occur when ungracefully shutting down
a server. It can leave half written messages at the end of segments.
2015-04-04 08:06:35 -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
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 e6a7d6bad1 Merge pull request #2154 from influxdb/redirects
Node redirection
2015-04-03 21:10:15 -06:00
Jason Wilder fd8c245473 Update changelog
Add #2152, #2154
2015-04-03 21:05:13 -06: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
Philip O'Toole a540780543 Remove leading whitespace in example config 2015-04-03 16:48:23 -07: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
Todd Persen 62f3c5c97d Merge pull request #2149 from runner-mei/dir_is_not_exists
Make InfluxDB win32 friendly, fix unit test is failed on the windows and it is for directory isn't exists.
2015-04-03 16:31:39 -07:00
Philip O'Toole 864310d4ec Minor typo in CHANGELOG 2015-04-03 16:07:14 -07:00
Philip O'Toole c120f18311 Merge pull request #2165 from influxdb/stats_to_monintoring
Configuration changes for self-monitoring
2015-04-03 14:55:12 -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
Ben Johnson 93be4b08fa Merge pull request #2164 from influxdb/append-log
Update init script to append STDERR to log.
2015-04-03 14:38:24 -06:00
Ben Johnson 9e134d5ee9 Update init script to append STDERR to log. 2015-04-03 14:27:27 -06:00
Philip O'Toole f550010f20 Merge pull request #2163 from influxdb/default_config_file_path
Use /var/opt as default for storage
2015-04-03 13:07:56 -07:00
Philip O'Toole 9b4b5dd40a Fix up paths for run and data 2015-04-03 12:52:37 -07:00
Philip O'Toole 60aef82f6a Merge pull request #2160 from influxdb/OR_tags
Unit test OR tags
2015-04-03 11:55:14 -07:00
Philip O'Toole a8559cc37d Unit test OR tags 2015-04-03 11:41:16 -07:00
Mark Rushakoff 9bc39209da Merge pull request #2156 from influxdb/fix-graphite-swallowed-error
Fix swallowed error in Graphite UDP server
2015-04-03 09:41:37 -07:00
Mark Rushakoff eaf8d0697e Update changelog 2015-04-03 09:35:05 -07:00
Cory LaNou e0bdff245b Merge pull request #2159 from influxdb/add-future-write-script
Add script to show how to query for future data
2015-04-03 10:48:37 -05:00
Cory LaNou 3854fdfb82 Add script to show how to query for future data 2015-04-03 10:33:40 -05:00
runner.mei e129c53f64 fix unit test is failed on the windows 2015-04-03 13:50:28 +08:00
runner.mei 6a7cb61f6d fix unit test is failed with connection refused on the win32 2015-04-03 13:48:52 +08:00
Mark Rushakoff 56c58eb215 Fix swallowed error 2015-04-02 19:01:19 -07:00
Philip O'Toole f787755098 Merge pull request #2142 from influxdb/chunked-responses-2
Support chunked responses
2015-04-02 16:10:25 -07:00
Philip O'Toole 41c59dd6a2 Update CHANGELOG 2015-04-02 16:00:55 -07:00
Philip O'Toole e1b9ddadfe Work with new HTTP testing code 2015-04-02 16:00:55 -07:00
Philip O'Toole e4cf36fe29 Combine values across mappers before emit 2015-04-02 16:00:52 -07:00
Philip O'Toole 8661155a7d Fix bad merge with master 2015-04-02 15:22:27 -07:00
Paul Dix f3dce09621 uncoment raw ordering test 2015-04-02 15:22:27 -07:00
Paul Dix 8ac561d25c Handle json marshal errors 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
Paul Dix b13385f9ab Fix error after rebase 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
Ben Johnson 20c55bce85 Merge pull request #2151 from influxdb/ignore-metastore-replay
Ignore replayed commands on the metastore.
2015-04-02 14:51:20 -06:00