Vorn Mom
5b50002728
Fixed typo in README
2015-07-24 17:07:41 -04:00
Todd Persen
237b52b46a
Update CHANGELOG.md
2015-07-23 17:28:16 -07:00
Todd Persen
8fe27415f6
Merge pull request #3455 from influxdb/update-admin-version-v0.9.2
...
Update admin assets for v0.9.2
2015-07-23 17:26:55 -07:00
gunnaraasen
32d3d70da9
Remove all dump code from CLI
2015-07-23 17:21:01 -07:00
Sean Beckett
7b6cbbe9b3
removing DUMP from CLI help
2015-07-23 17:19:58 -07:00
Todd Persen
d47f30b209
Update admin assets for v0.9.2
2015-07-23 17:13:02 -07:00
Todd Persen
381c300ac5
Merge pull request #3424 from influxdb/pd-update-sample-config
...
Update sample config with information on batching for UDP, Graphite, …
2015-07-23 17:09:28 -07:00
Josh Horwitz
e722b4b4ad
Added additional logging to continuous queries
2015-07-23 19:09:42 -04:00
Gunnar
d9f16987fc
Merge pull request #3439 from influxdb/ga-admin-https
...
Add HTTPS option and logger to admin service
2015-07-23 15:09:56 -07:00
Gunnar
d1fc0a3cc9
Merge pull request #3375 from influxdb/https
...
First pass at re-enabling HTTPS.
2015-07-23 15:04:29 -07:00
gunnaraasen
b30351f750
Remove redundant loggers and clean up logic
2015-07-23 15:01:48 -07:00
gunnaraasen
8ab9424295
Return error if HTTPS fails
2015-07-23 15:00:33 -07:00
gunnaraasen
54c4066a5f
Remove cert.pem file
2015-07-23 14:55:56 -07:00
gunnaraasen
614332bf17
Exit if HTTPS fails
2015-07-23 14:50:45 -07:00
Gunnar
96575e678a
Merge pull request #3427 from influxdb/ga-pw-log
...
Logging tweaks, sanitize passwords and note if authentication is enabled
2015-07-23 14:12:41 -07:00
David Norton
df7e13379b
enable race test
2015-07-23 15:06:32 -04:00
Sean Beckett
76619c6883
Merge pull request #3438 from tmonk42/show_policy_tweak
...
docs tweaks for new syntax show retention policies
2015-07-23 10:56:43 -07:00
Haneysmith, Nathan
fb32358216
Merge branch 'master' of https://github.com/influxdb/influxdb into show_policy_tweak
2015-07-23 10:36:08 -07:00
Jason Wilder
7e56a54062
Merge pull request #3372 from influxdb/jw-cluster
...
Support joining nodes to an existing cluster
2015-07-23 10:28:32 -06:00
Jason Wilder
3c308e3bbf
Update changelog
2015-07-23 10:26:24 -06:00
Jason Wilder
9dd66fa4ad
Make meta RPC private
2015-07-23 10:21:25 -06:00
Jason Wilder
e9044166d6
Invalidate raft member by fetching from leader
2015-07-23 10:21:25 -06:00
Jason Wilder
47b8de7ce8
Hide Meta.Join from config command using toml skip annotation
2015-07-23 10:21:25 -06:00
Jason Wilder
eb7d18125e
Fix race in test code
2015-07-23 10:21:25 -06:00
Jason Wilder
29011c5cf2
Code review fixes
2015-07-23 10:21:25 -06:00
Jason Wilder
b78ac4bf15
Add RPC tests
2015-07-23 10:21:24 -06:00
Jason Wilder
84a8d7d24b
Add cluster-tracing option to meta config
...
Useful for troubleshooting but too verbose for regular use.
2015-07-23 10:21:24 -06:00
Jason Wilder
c1fc83e3d5
Make join private so it does not show up in config command
2015-07-23 10:21:24 -06:00
Jason Wilder
29b11a20a2
Support multiple comma-separated join addresses
...
Will try each once until one succeeds
2015-07-23 10:21:24 -06:00
Jason Wilder
85db9c46e8
Move remaining raft impl details to local raft state
2015-07-23 10:21:24 -06:00
Jason Wilder
790733daad
Move snapshot to raft state
2015-07-23 10:21:24 -06:00
Jason Wilder
54e116507f
Move apply to raft state
2015-07-23 10:21:24 -06:00
Jason Wilder
a9314d6bb7
Move raft index to raft state
2015-07-23 10:21:24 -06:00
Jason Wilder
17a9bb041b
Remove raftEnabled func
...
Not needed since it was just used as a safeguard for seeing if we
are the leader.
2015-07-23 10:21:24 -06:00
Jason Wilder
72e2e1a6f2
Move addPeer to raft state
2015-07-23 10:21:24 -06:00
Jason Wilder
80248f9b53
Remote leaderCh
...
Not used
2015-07-23 10:21:24 -06:00
Jason Wilder
b86fecfd80
Move setPeers to raft state
2015-07-23 10:21:24 -06:00
Jason Wilder
9e4339753f
Move leaderCh() to raft state
2015-07-23 10:21:23 -06:00
Jason Wilder
33730da32b
Move isLeader to raft state
2015-07-23 10:21:23 -06:00
Jason Wilder
fb8a4db74f
Move raft closing to localRaft state
2015-07-23 10:21:23 -06:00
Jason Wilder
5ea8342892
Move raft state to separate file
...
store.go is getting big.
2015-07-23 10:21:23 -06:00
Jason Wilder
f3fcfebf83
Make raftState interface private
2015-07-23 10:21:23 -06:00
Jason Wilder
a7fa5eb634
Propogate metadata changes from raft nodes to non-raft nodes
...
Non-raft nodes need to be notifified when the metastore changes. For
example, a database could be dropped on node 1 (non-raft) and node 2
would not know. Since queries for that database would not be a cache
miss, node 2 would not get updated.
To propogate changes to non-raft nodes, each non-raft node maintains
a blocking connection to a raft node that blocks until a metadata
change occurs. When the change is triggered, the updated metadata
is returned to the client and the client idempotently updates its local
cache. It then reconnects and waits for another change. This is
similar watches in zookeeper or etcd. Since the blocking request is
always recreated, it also serves as a polling mechanism that will retry
another raft member if the current connection is lost.
2015-07-23 10:21:23 -06:00
Jason Wilder
ad8948b4a6
Fix up rpc error handling
...
Some errors would not be returned to the client because something
failed before we could create the appropriate respone. For these
cases, a general error response is returned.
2015-07-23 10:21:23 -06:00
Jason Wilder
5486d3e216
Move invalidate to raft state
...
The behavior is different depending on the state. Local raft just
waits a second (?) and remote raft fetches the meta data from the leader.
2015-07-23 10:21:23 -06:00
Jason Wilder
43f0407178
Ensure a node can join an existing single node raft cluster
2015-07-23 10:21:23 -06:00
Jason Wilder
cb718b9832
Only allow adding non-raft nodes for now
...
Adding raft nodes is more complicated and can break a cluster when
moving from 1 to 2 nodes. This will be fixed in later PR.
2015-07-23 10:21:23 -06:00
Jason Wilder
9db3a779e9
Assign and store a node ID when joining an existing cluster
2015-07-23 10:21:23 -06:00
Jason Wilder
3f90891b82
Proxy raft and rpc connections to leader transparently
...
Nodes that are not part of the raft cluster will not reliably know who the
current raft cluster leader is. To make communication simpler, proxy all
rpc and raft calls to the current raft leader if a non-leader receives one.
2015-07-23 10:21:23 -06:00
Jason Wilder
e06f6f421b
Add ability to join an existing cluster
...
This adds some basic ability to join a node to an existing cluster. It
uses a rpc layer to initiate a join request to an existing memeber. The
response indicates whether the joining node should take part in the raft
cluster and who it's peers should be. If raft should not be started, the
peers are the addresses of the current raft members that it should delegate
consensus operations.
To keep the meta store implementation agnostic of whether it's running
a local raft or not, a consensusStrategy type was also added.
2015-07-23 10:21:22 -06:00