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
231f05195f
Merge pull request #2178 from influxdb/err
...
Return fmt.Errorf()
2015-04-06 16:37:10 -06:00
Jason Wilder
c356ff6483
Return fmt.Errorf()
2015-04-06 16:29:00 -06:00
Mark Rushakoff
a13af0483a
Use fmt.Println, not log.Println to print usage
...
The previous behavior caused "[srvr]" to print out during usage, e.g. in
`influxd help run`:
```
[srvr] 2015/04/06 11:58:04 usage: run [flags]
run starts the broker and data node server....
```
2015-04-06 13:12:00 -07:00
Philip O'Toole
89b5473a09
Minor tweak to changelog for OpenTSDB support
2015-04-06 11:24:39 -07:00
Philip O'Toole
6af9912d0c
Merge pull request #2174 from influxdb/opentsdb_tweaks
...
Tweak openTSDB changes and update CHANGELOG
2015-04-06 11:24:02 -07:00
Philip O'Toole
dbb7d2a319
Tweak openTSDB changes and update CHANGELOG
2015-04-06 11:10:50 -07:00
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
Dejan Golja
e1b9982401
Add support for SET PASSWORD FOR user = 'PASSWORD'
...
Added support for the set password for user, so we can update user
password via the new server administration commands
2015-04-04 14:16:54 +11: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