mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 01:03:32 +08:00
add master side code for cluster wise exclusive lock
This commit is contained in:
@@ -66,7 +66,8 @@ type MasterServer struct {
|
||||
|
||||
MasterClient *wdclient.MasterClient
|
||||
|
||||
currentAdminShellClient string
|
||||
adminAccessSecret int64
|
||||
adminAccessLockTime time.Time
|
||||
}
|
||||
|
||||
func NewMasterServer(r *mux.Router, option *MasterOption, peers []string) *MasterServer {
|
||||
|
Reference in New Issue
Block a user