Cory LaNou
e19db2b89d
making go vet pass for cmd/influxd/run.go
2014-12-30 09:04:39 -06:00
Ben Johnson
7a1de8a459
Use replica id instead of replica name.
2014-12-23 17:01:06 -07:00
Philip O'Toole
e31c58d580
Add protocol to Raft connection string
...
Fixed at HTTP for now.
2014-12-19 16:18:48 -05:00
Philip O'Toole
021604a6de
Add connection URL to Broker
2014-12-19 16:18:01 -05:00
Philip O'Toole
e1ef61aafc
Tell Broker to join during 'join-cluster'
2014-12-19 16:18:01 -05:00
Philip O'Toole
3ab0c5b270
Add logging of Raft initialization
2014-12-19 16:18:01 -05:00
Philip O'Toole
bc6d951057
Launch HTTP handlers in goroutines
2014-12-19 11:34:32 -05:00
Philip O'Toole
2124ebb383
The flag is 'seed-servers'
2014-12-18 11:35:03 -08:00
Philip O'Toole
ceeb1f6946
Store Messaging Client config in file
...
The presence of this file is also used to determine if a node should run
in local client mode, or should contact a Broker.
2014-12-16 19:57:20 -08:00
Philip O'Toole
20716a93e7
Support separate HTTP ports for Raft and API
2014-12-16 19:39:43 -08:00
Philip O'Toole
7eadaa75ca
Add support for seed-servers during 'run'
2014-12-15 23:08:17 -08:00
Philip O'Toole
0fd2bc03a2
Set bool flag once storage dir created
2014-12-15 21:55:57 -08:00
Philip O'Toole
e70f00723c
Simplify 'run' control
...
This change refactors the existing 'run' command such that repeated code
is removed. It uses -- in a much clearer manner -- the existence of the
Broker and Storage directories to work out in which mode it should run.
The only extra piece of state required on a disk is an empty file,
whose simple existence indicates that a local (loopback) client is
needed.
With this change in place the 'join-cluster' and 'create-cluster'
commands are much closer to being fully functional, since they simply
don't create the empty file. Therefore it all just works.
2014-12-15 19:45:55 -08:00
Philip O'Toole
a20e8ec7e0
Fix panic when just 'influxd' is run
2014-12-11 16:05:09 -08:00
Philip O'Toole
918c0562be
Create storage dir for 'join-cluster' if needed
2014-12-11 15:52:21 -08:00
Philip O'Toole
71da5c4a4a
Correct path of storage dir for 'create-cluster'
2014-12-11 15:52:21 -08:00
Philip O'Toole
dbd9dcbe0f
Add missing default config paths and help
...
They were missing for 'create-cluster' and 'join-cluster'.
2014-12-11 15:52:18 -08:00
Philip O'Toole
73f304ca1e
Bring up broker endpoints
...
If a Broker is running on the node, we need ensure the handler will
service its endpoints.
2014-12-11 14:42:21 -08:00
Philip O'Toole
2c0a69df9a
Implement command-based CLI, and start cluster-bringup
...
This change adds a CLI styled after the Go tool chain, with a design
inspired by that system. It adds 4 new commands, 'run',
'create-cluster', 'join-cluster', and 'version'. Full help is also
supplied.
Local-mode 'run' is fully functional, and 'create-cluster' also works.
2014-12-10 16:30:08 -08:00
Philip O'Toole
f6d7393172
Add new command line options for clustering and role
2014-12-02 18:49:32 -08:00
Philip O'Toole
078ff526d4
Merge pull request #1167 from otoolep/seed_test_fixes
...
Remove test of obsolete config param
2014-11-25 13:47:06 -08:00
Philip O'Toole
d08588aad2
Remove test of obsolete config param
2014-11-25 13:41:57 -08:00
Philip O'Toole
80796a0e47
Revert "Revert "Merge pull request #1158 from otoolep/bringup""
...
This reverts commit af33cbf72d
.
2014-11-25 13:19:26 -08:00
Philip O'Toole
6ed0624471
Support Local mode via a Loopback messaging client
...
This change adds a simple loopback client to the system. It also moves
setting the seed servers to the command line, and removes control from
the configuration file.
2014-11-25 07:56:39 -08:00
Philip O'Toole
98e3af0f6c
Print very early exit errors to stdout
...
Without this a missing config file results in no feedback to the user
2014-11-25 07:52:20 -08:00
Philip O'Toole
af33cbf72d
Revert "Merge pull request #1158 from otoolep/bringup"
...
This reverts commit 081be7a0bc
, reversing
changes made to b60e6ecca9
.
2014-11-24 13:12:03 -08:00
Philip O'Toole
bd4a1ab4aa
Open the Server
2014-11-21 14:52:26 -08:00
Philip O'Toole
6368227b58
Log an error, don't exit, if no seed servers set
2014-11-18 21:30:56 -08:00
Philip O'Toole
1ae7905434
Remove no-longer-used config params
2014-11-18 20:53:29 -08:00
Ben Johnson
f5954ace5e
Move version and commit sha into main.go.
2014-11-17 17:34:47 -07:00
Ben Johnson
37ee2ac23c
Remove engine, parser, and Makefile.
2014-11-17 15:54:35 -07:00
Ben Johnson
2c7f879f4d
Integrating http handler.
2014-11-10 22:25:03 -07:00
Ben Johnson
9d1464813a
Merge branch 'master' of https://github.com/influxdb/influxdb into streaming-raft
...
Conflicts:
Makefile.in
_vendor/raft/server.go
_vendor/raft/snapshot.go
_vendor/raft/snapshot_test.go
admin/http_server.go
admin/http_server_test.go
api/graphite/api.go
api/http/series_writer.go
cluster/cluster_configuration.go
cluster/cluster_server.go
cluster/nil_processor.go
cluster/shard_space.go
cmd/influxd/main.go
common/helpers.go
configuration/configuration.go
configuration/configuration_test.go
coordinator/protobuf_server.go
coordinator/raft_server.go
datastore/point_iterator.go
datastore/shard.go
datastore/storage_key.go
engine/aggregator_engine.go
engine/arithmetic_operators.go
parser/group_by.go
parser/query_api.go
response_channel.go
server/server.go
2014-11-06 01:20:36 -05:00
Ben Johnson
7db0e15799
Refactoring into root.
2014-10-21 23:32:19 -06:00
Ben Johnson
bee1842ed8
Move api/graphite to root.
2014-10-21 18:20:43 -06:00
Ben Johnson
2d85507a87
Refactor tools into cmd.
2014-10-21 17:46:16 -06:00
Ben Johnson
ccb0e6b6a1
Refactor configuration into main.
2014-10-20 23:32:47 -06:00