storage/rpc-client: Reconnect on network disconnect (#2436)

This commit is contained in:
Krishnan Parthasarathi
2016-08-15 00:00:18 -07:00
committed by Harshavardhana
parent 229600ce9b
commit 804d91ef61
3 changed files with 102 additions and 10 deletions

View File

@@ -91,9 +91,6 @@ func newObjectLayerFactory(disks, ignoredDisks []string) func() ObjectLayer {
// configureServer handler returns final handler for the http server.
func configureServerHandler(srvCmdConfig serverCmdConfig) http.Handler {
// Initialize Namespace locking.
initNSLock()
// Initialize storage rpc servers for every disk that is hosted on this node.
storageRPCs, err := newRPCServer(srvCmdConfig)
fatalIf(err, "Unable to initialize storage RPC server.")