Alex Dadgar
8ba5ba33de
small cleanup
2018-03-13 18:08:22 -07:00
Chelsea Holland Komlo
319f80907c
code review feedback
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
6eb9911caf
code review feedback
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
9ef6ad031a
fix up go check warnings
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
a72dcbfcdd
add client side emitting of node events
...
Changelog
2018-03-13 18:08:21 -07:00
Alex Dadgar
42e9fe1b57
Merge pull request #3890 from hashicorp/b-heartbeat
...
Heartbeat improvements and handling failures during establishing leadership
2018-03-12 14:41:59 -07:00
Josh Soref
0afd7f8d56
spelling: transition
2018-03-11 19:06:05 +00:00
Josh Soref
c297d03315
spelling: thresholds
2018-03-11 19:03:47 +00:00
Josh Soref
c10723cd5a
spelling: server
2018-03-11 18:55:30 +00:00
Josh Soref
25eb073964
spelling: registry
2018-03-11 18:41:13 +00:00
Josh Soref
84277e6d6a
spelling: otherwise
2018-03-11 18:34:27 +00:00
Josh Soref
65bb9c727e
spelling: labels
2018-03-11 18:21:44 +00:00
Josh Soref
71163eeab0
spelling: heartbeating
2018-03-11 18:12:19 +00:00
Josh Soref
3da43206f8
spelling: controls
2018-03-11 17:50:39 +00:00
Josh Soref
fe8ccc109d
spelling: already
2018-03-11 17:39:04 +00:00
Josh Soref
461d44f924
spelling: allocation
2018-03-11 17:37:22 +00:00
Chelsea Holland Komlo
bf72619e8c
simplify retry logic
2018-03-01 09:48:26 -05:00
Chelsea Holland Komlo
4b6bcf7293
reset timer after updating node copy
2018-02-27 17:18:10 -05:00
Chelsea Holland Komlo
29696110b2
add network resources equal method, use time ticker
...
remove impossible test case
2018-02-27 12:42:53 -05:00
Chelsea Holland Komlo
44fdb74378
use time ticker, update how network resources are compared
2018-02-26 18:47:11 -05:00
Chelsea Holland Komlo
cd5be3bea9
improved testing; node networks comparison
2018-02-26 15:55:38 -05:00
Chelsea Holland Komlo
4271123b4f
code review fixups
2018-02-26 12:36:30 -05:00
Chelsea Holland Komlo
7246c9d1ff
edge trigger node update
...
test update config copy trigger
2018-02-26 12:36:04 -05:00
Alex Dadgar
f970e3dc9d
Registering back to initializing
...
Fix a bug in which if the node attributes/meta changed, we would
re-register the node in status initializing. This would incorrectly
trigger the client to log that it missed its heartbeat.
It would change the status of the Node to initializing until the next
heartbeat occured.
2018-02-16 17:49:31 -08:00
Alex Dadgar
efa8bc0615
Fix original client server list behavior
2018-02-15 16:04:53 -08:00
Alex Dadgar
f062c93e95
Client tls
2018-02-15 15:22:57 -08:00
Alex Dadgar
a80ef65291
Code review feedback
2018-02-15 13:59:02 -08:00
Alex Dadgar
c0e01d8a9e
New RPC Modes and basic setup for streaming RPC handlers
2018-02-15 13:59:01 -08:00
Alex Dadgar
e2d1ce8ff2
Fix manager tests and make testagent recover from port conflicts
2018-02-15 13:59:01 -08:00
Alex Dadgar
5618fd43ee
initial round of comment review
2018-02-15 13:59:01 -08:00
Alex Dadgar
0a047bb3a8
SetServer command actually returns an error if given an invalid server
2018-02-15 13:59:01 -08:00
Alex Dadgar
b97b44a76f
use server manager
2018-02-15 13:59:01 -08:00
Alex Dadgar
d15bb76538
Refactor
2018-02-15 13:59:00 -08:00
Alex Dadgar
ddee97ca29
Stats Endpoint
2018-02-15 13:59:00 -08:00
Chelsea Holland Komlo
1a26950114
code review feedback
2018-02-07 18:10:55 -05:00
Chelsea Holland Komlo
ca3b28c5c6
remove dependency on client for fingerprint manager
2018-02-07 18:10:45 -05:00
Chelsea Holland Komlo
cc1213a8bb
add fingerprint manager
2018-02-07 18:10:33 -05:00
Chelsea Holland Komlo
8049aa083f
update log message
2018-02-01 19:46:57 -05:00
Chelsea Holland Komlo
3202200ccb
req/resp should be within config locks; rename for detected fingerprints
...
changelog
2018-02-01 19:00:39 -05:00
Chelsea Holland Komlo
ba2ebbc7f9
code review fixup
2018-01-31 18:34:03 -05:00
Chelsea Holland Komlo
a9447addd3
add applicable boolean to fingerprint response
...
public fields and remove getter functions
2018-01-31 13:21:45 -05:00
Chelsea Holland Komlo
e8aaa93459
locks for fingerprint reads/writes
2018-01-30 11:32:45 -05:00
Chelsea Holland Komlo
f5fc20a564
create safe getters and setters for fingerprint response
2018-01-26 11:22:05 -05:00
Chelsea Holland Komlo
c21ac46337
fixups from code review
2018-01-26 07:04:32 -05:00
Chelsea Holland Komlo
5e8151d700
refactor Fingerprint to request/response construct
2018-01-24 11:54:02 -05:00
Chelsea Holland Komlo
8de260f19b
refactor creating a new tls configuration
2018-01-16 08:02:39 -05:00
Chelsea Holland Komlo
bbc56860ac
adding additional test assertions; differentiate reloading agent and http server
2018-01-16 07:34:39 -05:00
Chelsea Holland Komlo
11089b23ce
reload raft transport layer
...
fix up linting
2018-01-08 14:52:28 -05:00
Chelsea Holland Komlo
c70702e802
call reload on agent, client, and server separately
2018-01-08 09:56:31 -05:00
Chelsea Holland Komlo
18fdd31570
reloading tls config should be atomic for clients/servers
2018-01-08 09:21:06 -05:00