Mark Bates
8ac958f8a0
Merge pull request #4683 from influxdb/enterprise-client
...
Updated to use the new Enterprise Client
2015-11-06 13:13:15 -05:00
Mark Bates
d46bf535b2
Report anonymous stats to Enterprise
2015-11-06 10:30:57 -05:00
Nathaniel Cook
1719a6107c
PointsWriter will drop writes to subscriber service for any in-flight writes
2015-11-05 16:25:00 -07:00
Philip O'Toole
f703f58d22
Add HH diagnostics
2015-10-26 18:59:58 -07:00
Philip O'Toole
878663e1e3
Periodic upload of stats to Enterprise
2015-10-19 15:25:07 -07:00
Philip O'Toole
667ad3342a
Refactor registration as a service
...
Registration also involves statistics and diagnostics upload, for the
purposes of remote management. This means there will be long-running
goroutines in effect. Therefore move the code to a service model.
2015-10-19 15:01:14 -07:00
Mark Bates
8f16a85cd2
Fixed issue sending JSON numbers to Enterprise when it wants strings
2015-10-15 16:51:48 -04:00
Philip O'Toole
0f001a6d9a
Handle registration errors from Enterprise server
2015-10-15 13:48:23 -07:00
Philip O'Toole
07db774423
Register with Enterprise if token available
2015-10-15 13:13:34 -07:00
Nathaniel Cook
8b31007aa7
Adds subscriber service for creating/dropping subscriptions to the
...
InfluxDB data stream.
2015-10-14 15:23:45 -06:00
Philip O'Toole
f298e88b39
Auto-create UDP service database
...
All other services operate like this, so make UDP service consistent.
2015-10-14 08:30:09 -07:00
Daniel Morsing
48223a90f9
Fix spelling nit.
...
Make it obvious that INTO is a keyword and not part of the sentence
2015-10-14 15:16:27 +01:00
Daniel Morsing
822af73f88
implement continuous queries as regular execs of into queries.
...
Now that we have into queries, we can implement them as regular
queries that are just run on a timer.
2015-10-13 15:51:19 +00:00
Daniel Morsing
62dff895e2
wire up INTO queries.
...
Since INTO queries need to have absolute information about the database
to work, we need to create a loopback interface back to the cluster
in order to perform them.
2015-10-13 15:00:36 +00:00
Philip O'Toole
5b0a8ed306
HH should not process dropped nodes
2015-10-08 18:23:12 -07:00
Philip O'Toole
d74e0690c7
Revert "Merge pull request #4233 from influxdb/drop-server"
...
This reverts commit 0bdb36f6dc
, reversing
changes made to 3085fbc138
.
2015-10-02 08:39:57 -07:00
Cory LaNou
99da67007d
no more shutdown
2015-10-01 15:39:15 -05:00
Cory LaNou
73372ed907
[Ee]xecuteShutdown -> [Mm]onitorShutdown
2015-10-01 15:39:15 -05:00
Cory LaNou
34bfb6b330
be sure to exit the go routine if we terminate normally
2015-10-01 15:39:15 -05:00
Cory LaNou
7a3e1f6b27
removing peer wip
2015-10-01 15:39:15 -05:00
Philip O'Toole
7cb8c2d2ec
Add build timestamp to version data
2015-09-24 23:40:53 -07:00
Philip O'Toole
f73bc6ff19
Merge pull request #4140 from influxdb/engine_config
...
Make engine configurable
2015-09-16 21:17:43 -07:00
Philip O'Toole
7b1a4e6700
Control whether each query should be logged
...
Fixes issue #4138
2015-09-16 19:26:23 -07:00
Philip O'Toole
e4fde993f1
Make engine configurable
2015-09-16 19:09:25 -07:00
Philip O'Toole
0ea0a3a71b
Add build info to diagnostics
2015-09-09 12:43:51 -07:00
Philip O'Toole
402576bd93
Pass richer build information to Server
2015-09-09 12:36:32 -07:00
Jason Wilder
77d310337c
Clarify comment
2015-09-08 11:05:39 -06:00
Jason Wilder
dabb01691e
Close server is reverse order that it was started
...
The server was closing by stopping the most depended on services first
which causes various panics while higher level services are still processing
task when the server closes.
Fixes #3881
2015-09-08 11:04:00 -06:00
Jason Wilder
b8da247b08
Open monitor server after metastore is ready
2015-09-05 09:06:51 -06:00
Ben Johnson
deff06f850
add copier service
...
This commit adds the copier service which allows one server to
copy shards from another server. This will be used for moving
shards in the cluster.
2015-09-03 13:07:35 -06:00
Philip O'Toole
d820fa7649
Add PointsWriter to monitor
...
This will allow the monitor to persistently store statistics
2015-09-02 15:45:11 -07:00
Philip O'Toole
9165a0cf4c
Create statement_executor for monitor
2015-09-02 15:44:56 -07:00
Philip O'Toole
4e2ee1ea70
Rename MonitorService to just Monitor
...
monitor is not a service, it has more in common with meta, since it
provides functionality to the query layer. This names makes this
clearer.
2015-09-02 15:07:30 -07:00
Philip O'Toole
9df17409d3
Use monitor service with Graphite
2015-09-01 15:21:36 -07:00
Philip O'Toole
f05dc20b58
Hook new monitor service to server
...
u
2015-09-01 15:03:52 -07:00
Paul Dix
9df3b7d828
Add WAL configuration options
2015-08-18 16:59:54 -04:00
Jason Wilder
f07b8d4016
Make sure port is optional when passing hostanme flag
2015-08-12 10:41:43 -06:00
Philip O'Toole
8dbcff833b
Revert "Revert "Merge pull request #3599 from tpitale/multiple-udp-servers""
...
This reverts commit 5f83f038e1
.
2015-08-10 16:21:27 -07:00
Philip O'Toole
5f83f038e1
Revert "Merge pull request #3599 from tpitale/multiple-udp-servers"
...
This reverts commit 7f35d65412
, reversing
changes made to f828781544
.
2015-08-10 14:44:14 -07:00
Philip O'Toole
7f35d65412
Merge pull request #3599 from tpitale/multiple-udp-servers
...
Change single udp config to support multiple UDP listeners
2015-08-10 14:22:27 -07:00
Tony Pitale
e943afacdc
Change (previously unused) single udp config to support multiple UDP listeners
...
do not use NewConfig for UDP
appendUDPService must return a value
udp service does not need to handle error
fix missing case of c.UDP in tests
2015-08-09 11:28:09 -04:00
Jason Wilder
87376a1c35
Allow -hostname to also override remote addr port
...
When starting a influxd in a docker container, the processess needs to know
the hosts address and port in order to create its NodeInfo correctly. -hostname
previously only allowed us to change the hostname and the port would always be 8088
which may not be correctly if running multiple containers on the same host.
2015-08-07 14:03:08 -06:00
Jason Wilder
2b76dac479
Don't resolve hostname when creating node
...
Hostnames were always being resolved to an IP address and the IP
address was used as the host address and raft peer address. There
was no way to use an actual hostname instead of an IP address.
2015-08-05 14:17:26 -06:00
Jason Wilder
b6c95925fb
Add retry delay for report service loop when error occurs
...
There is a race when stopping servers where the meta.Store is closing
but the server has not signaled it is closing so the reporting goroutine
repeeatedly errors out in fast loop during this time. It creates a lot
of noise in the logs.
2015-07-28 09:40:26 -06:00
Jason Wilder
514f36cf54
Exit report goroutine if server is closing
2015-07-28 09:40:25 -06:00
Jason Wilder
abfd438a11
Implement remote meta data fetch
...
This adds some basic plumbing to make remote procedure calls to other cluster
members. This first implementation allows a node to contact the raft leader
and fetch a copy of the meta data. This will be used by non-raft members to
pull down the latest metadata.
2015-07-23 10:21:22 -06:00
Ben Johnson
a7f50ae03c
refactor storage to engine
2015-07-22 11:08:10 -06:00
Philip O'Toole
10eecb441d
Allow remote mapping to be forced
...
This is useful primarily for testing.
2015-07-20 10:44:45 -07:00
Philip O'Toole
425a65fca1
RemoteShard mapping now performed over TCP
...
With this change remote mapping no longer uses HTTP, as the HTTP ports
exposed by nodes on the cluster are not known cluster wide. The TCP
ports exposed by the cluster service are, so this change uses that
functionality. Each RemoteMapper has its own dedicated connection pool
for each node, and remote mapping TCP connections are in no way coupled
with query TCP connections.
2015-07-20 10:44:38 -07:00
Philip O'Toole
bd2f475b5d
Merge pull request #3334 from mcastilho/master
...
Clean shutdown of influxd server
2015-07-16 13:00:13 -07:00