Commit Graph

3848 Commits (6bc6ce671e20e605e1c92a29d07553627cc325a9)
 

Author SHA1 Message Date
Sean Chittenden 4589c36308 Switch the order of ServerDetails.String()
9 years ago
Hrishikesh Barua a938cf00e6 Added help text for -dev option #1804 for zsh completion.
9 years ago
Hrishikesh Barua 958a4e43b7 Added help text for -dev option #1804 for zsh completion.
9 years ago
Sean Chittenden e8a2e56370 Move rebalance log statement from INFO to DEBUG
9 years ago
Sean Chittenden 060dd49a95 Chase the API bump re: refreshServerRebalanceTimer
9 years ago
Sean Chittenden 3d00208351 Move initialization of the rebalanceTimer to New()
9 years ago
Sean Chittenden 5652c60971 Add a test for ConnPool.PingConsulServer
9 years ago
Sean Chittenden efc1113406 Expose ServerManager.ResetRebalanceTimer
9 years ago
Sean Chittenden d275cac1a3 Logging improvements
9 years ago
Sean Chittenden 35ff2eb71a Standardize the log message based on the package
9 years ago
Sean Chittenden e327630523 Reduce the error level from Fatal when unit testing
9 years ago
Sean Chittenden 92c2e8e668 Start server rebalance task after init'ing Serf
9 years ago
Sean Chittenden ee95c55d88 Catch up to a few renames
9 years ago
Sean Chittenden dc291e4027 Use empty string for addr in ServerDetails.String()
9 years ago
Sean Chittenden 970938c2dd Guard against a nil ServerDetails.Addr
9 years ago
Sean Chittenden ca5950a538 Proactively ping server before rotation
9 years ago
Sean Chittenden 18270bbd04 Factor out the shuffle server
9 years ago
Sean Chittenden 90d626b5d9 Revise comments re: cycleServer
9 years ago
Sean Chittenden cf59a860e7 Comment why the interface is needed: cyclic import
9 years ago
Sean Chittenden 3ecd72f3b5 Add a struct key type for server_details
9 years ago
Sean Chittenden ae32a3ceae Merge pull request #1873 from hashicorp/f-rebalance-worker-0.7
9 years ago
Sean Chittenden 5893bd5a35 Add additional checks
9 years ago
Sean Chittenden d18e4d7455 Delete the right tag
9 years ago
Sean Chittenden b1194e83cb Don't pass in sm, server manager is already in scope
9 years ago
Sean Chittenden a3a0eeeadd Trim residual complexity from server join notifications
9 years ago
Sean Chittenden a71fbe57e3 Only log in FindServers
9 years ago
Sean Chittenden 58246fcc0b Initialize the rebalancce to clientRPCMinReuseDuration
9 years ago
Sean Chittenden 4fec6a9608 Guard against very small or negative rates
9 years ago
Sean Chittenden d9251e30c8 Use range vs for
9 years ago
Sean Chittenden 9c18bb5f1c Comment updates
9 years ago
Sean Chittenden 0b3f6932df Only rotate server list with more than one server
9 years ago
Sean Chittenden 24eb274860 Relocate saveServerConfig next to getServerConfig
9 years ago
Sean Chittenden b00db393e7 Clarify that ConsulClusterInfo is an interface over serf
9 years ago
Sean Chittenden b8bbdb9e7a Reword comment after moving code into new packages
9 years ago
Sean Chittenden 68183c4378 Change initialReblaanaceTimeout to a time.Duration
9 years ago
Sean Chittenden 3433feb93b Negative check: test an invalid condition
9 years ago
Sean Chittenden 0f3ad9c120 Test to make sure bootstrap is missing
9 years ago
Sean Chittenden 7a2d30d1cf Be more Go idiomatic w/ variable names: s/valid/ok/g
9 years ago
Sean Chittenden 9daccb8b41 Fix stale comment
9 years ago
Sean Chittenden db72041063 Add a comment for Client serverMgr
9 years ago
James Phillips 3340d7ccd7 Merge pull request #1876 from hashicorp/f-tls-helper
9 years ago
James Phillips 0eb6279c5e Improves the comment for the Address field.
9 years ago
James Phillips e3f6c6a798 Merge pull request #1877 from hashicorp/api-constants
9 years ago
Diptanu Choudhury 4811a72d80 Added some constants in the api for check health statuses
9 years ago
James Phillips 1cfed981b3 Adds TLS config helper to API client.
9 years ago
Sean Chittenden 4d4806ab02 Add CHANGELOG entry re: agent rebalancing
9 years ago
Sean Chittenden 828606232e Correct a bogus goimport rewrite for tests
9 years ago
Sean Chittenden da872fee63 Test ServerManager.refreshServerRebalanceTimer
9 years ago
Sean Chittenden a63d5ab963 Add a handful more unit tests to the public interface
9 years ago
Sean Chittenden 8e3c83a258 Rename GetNumServers to NumServers()
9 years ago