mirror of
https://github.com/minio/minio.git
synced 2025-11-22 18:47:43 -05:00
Adopt dsync interface changes and major cleanup on RPC server/client.
* Rename GenericArgs to AuthRPCArgs * Rename GenericReply to AuthRPCReply * Remove authConfig.loginMethod and add authConfig.ServiceName * Rename loginServer to AuthRPCServer * Rename RPCLoginArgs to LoginRPCArgs * Rename RPCLoginReply to LoginRPCReply * Version and RequestTime are added to LoginRPCArgs and verified by server side, not client side. * Fix data race in lockMaintainence loop.
This commit is contained in:
@@ -233,6 +233,7 @@ func (f retryStorage) reInit() (err error) {
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
// Attempt to load format to see if the disk is really
|
||||
// a formatted disk and part of the cluster.
|
||||
_, err = loadFormat(f.remoteStorage)
|
||||
@@ -244,6 +245,7 @@ func (f retryStorage) reInit() (err error) {
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
// Login and loading format was a success, break and proceed forward.
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user