Commit Graph

4120 Commits (6a3076296543515fbf8892161d80c25f2c828435)
 

Author SHA1 Message Date
Sean Chittenden 3666c87d2f Remove two unused constants
9 years ago
Sean Chittenden 299d058d54 Remove useless comment residual from decomposing functions
9 years ago
Sean Chittenden ec25ad84a6 EDYSLEXICMOMENT
9 years ago
Roman Landenband aebae0349b clerify RPC usage
9 years ago
Hrishikesh Barua e4aef3a49a Get latest updates
9 years ago
Sean Chittenden b684b15d94 Refactor out recocileServerList anon function
9 years ago
Sean Chittenden c56f039884 Teach fauxConnPool to fail a pct of the time
9 years ago
Sean Chittenden 43aed6376a Call NotifyFailedServers to rotate the server list
9 years ago
Sean Chittenden 6648d31579 Add log line re: server manager backing off and sleeping
9 years ago
Sean Chittenden 544a263a62 Remove old debugging lines of questionable future value
9 years ago
Sean Chittenden e5b5078415 Shuffle in place
9 years ago
Sean Chittenden a81eb95acc Nuke unnecessary comment
9 years ago
Sean Chittenden e237904d80 Move FIXME comment to the right call site
9 years ago
Sean Chittenden 3dfd9e02b7 Rename the ConnPoolPinger interface to Pinger
9 years ago
Sean Chittenden c9afc16d96 Return error from PingConsulServer
9 years ago
Sean Chittenden 28dc6451d9 Change the definition of the ServerDetails struct key
9 years ago
Sean Chittenden 62c38ecb39 Correct the comment to match reality
9 years ago
Sean Chittenden 8ac35d84f0 Rename serverCfg to sc for consistency
9 years ago
Sean Chittenden 664ab238fd Add a quick length check
9 years ago
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