add master side code for cluster wise exclusive lock

This commit is contained in:
Chris Lu 2020-04-23 01:55:44 -07:00
parent 369aa8a10a
commit 77873b832b
4 changed files with 549 additions and 151 deletions

View File

@ -27,6 +27,13 @@ service Seaweed {
}
rpc ListMasterClients (ListMasterClientsRequest) returns (ListMasterClientsResponse) {
}
rpc LeaseAdminToken (LeaseAdminTokenRequest) returns (LeaseAdminTokenResponse) {
}
rpc ReleaseAdminToken (ReleaseAdminTokenRequest) returns (ReleaseAdminTokenResponse) {
}
rpc VerifyAdminToken (VerifyAdminTokenRequest) returns (VerifyAdminTokenResponse) {
}
}
//////////////////////////////////////////////////
@ -274,3 +281,29 @@ message ListMasterClientsRequest {
message ListMasterClientsResponse {
repeated string grpc_addresses = 1;
}
message LeaseAdminTokenRequest {
int64 previous_token = 1;
int64 previous_lock_time = 2;
}
message LeaseAdminTokenResponse {
bool is_allowed = 1;
string error = 2;
int64 lock_ts_ns = 3;
int64 token = 4;
}
message ReleaseAdminTokenRequest {
int64 previous_token = 1;
int64 previous_lock_time = 2;
}
message ReleaseAdminTokenResponse {
}
message VerifyAdminTokenRequest {
int64 token = 1;
int64 lock_time = 2;
}
message VerifyAdminTokenResponse {
bool is_valid = 1;
}

View File

@ -44,6 +44,12 @@ It has these top-level messages:
GetMasterConfigurationResponse
ListMasterClientsRequest
ListMasterClientsResponse
LeaseAdminTokenRequest
LeaseAdminTokenResponse
ReleaseAdminTokenRequest
ReleaseAdminTokenResponse
VerifyAdminTokenRequest
VerifyAdminTokenResponse
*/
package master_pb
@ -428,12 +434,10 @@ type VolumeEcShardInformationMessage struct {
EcIndexBits uint32 `protobuf:"varint,3,opt,name=ec_index_bits,json=ecIndexBits" json:"ec_index_bits,omitempty"`
}
func (m *VolumeEcShardInformationMessage) Reset() { *m = VolumeEcShardInformationMessage{} }
func (m *VolumeEcShardInformationMessage) String() string { return proto.CompactTextString(m) }
func (*VolumeEcShardInformationMessage) ProtoMessage() {}
func (*VolumeEcShardInformationMessage) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{4}
}
func (m *VolumeEcShardInformationMessage) Reset() { *m = VolumeEcShardInformationMessage{} }
func (m *VolumeEcShardInformationMessage) String() string { return proto.CompactTextString(m) }
func (*VolumeEcShardInformationMessage) ProtoMessage() {}
func (*VolumeEcShardInformationMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func (m *VolumeEcShardInformationMessage) GetId() uint32 {
if m != nil {
@ -1424,12 +1428,10 @@ type GetMasterConfigurationResponse struct {
MetricsIntervalSeconds uint32 `protobuf:"varint,2,opt,name=metrics_interval_seconds,json=metricsIntervalSeconds" json:"metrics_interval_seconds,omitempty"`
}
func (m *GetMasterConfigurationResponse) Reset() { *m = GetMasterConfigurationResponse{} }
func (m *GetMasterConfigurationResponse) String() string { return proto.CompactTextString(m) }
func (*GetMasterConfigurationResponse) ProtoMessage() {}
func (*GetMasterConfigurationResponse) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{32}
}
func (m *GetMasterConfigurationResponse) Reset() { *m = GetMasterConfigurationResponse{} }
func (m *GetMasterConfigurationResponse) String() string { return proto.CompactTextString(m) }
func (*GetMasterConfigurationResponse) ProtoMessage() {}
func (*GetMasterConfigurationResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{32} }
func (m *GetMasterConfigurationResponse) GetMetricsAddress() string {
if m != nil {
@ -1477,6 +1479,142 @@ func (m *ListMasterClientsResponse) GetGrpcAddresses() []string {
return nil
}
type LeaseAdminTokenRequest struct {
PreviousToken int64 `protobuf:"varint,1,opt,name=previous_token,json=previousToken" json:"previous_token,omitempty"`
PreviousLockTime int64 `protobuf:"varint,2,opt,name=previous_lock_time,json=previousLockTime" json:"previous_lock_time,omitempty"`
}
func (m *LeaseAdminTokenRequest) Reset() { *m = LeaseAdminTokenRequest{} }
func (m *LeaseAdminTokenRequest) String() string { return proto.CompactTextString(m) }
func (*LeaseAdminTokenRequest) ProtoMessage() {}
func (*LeaseAdminTokenRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{35} }
func (m *LeaseAdminTokenRequest) GetPreviousToken() int64 {
if m != nil {
return m.PreviousToken
}
return 0
}
func (m *LeaseAdminTokenRequest) GetPreviousLockTime() int64 {
if m != nil {
return m.PreviousLockTime
}
return 0
}
type LeaseAdminTokenResponse struct {
IsAllowed bool `protobuf:"varint,1,opt,name=is_allowed,json=isAllowed" json:"is_allowed,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
LockTsNs int64 `protobuf:"varint,3,opt,name=lock_ts_ns,json=lockTsNs" json:"lock_ts_ns,omitempty"`
Token int64 `protobuf:"varint,4,opt,name=token" json:"token,omitempty"`
}
func (m *LeaseAdminTokenResponse) Reset() { *m = LeaseAdminTokenResponse{} }
func (m *LeaseAdminTokenResponse) String() string { return proto.CompactTextString(m) }
func (*LeaseAdminTokenResponse) ProtoMessage() {}
func (*LeaseAdminTokenResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{36} }
func (m *LeaseAdminTokenResponse) GetIsAllowed() bool {
if m != nil {
return m.IsAllowed
}
return false
}
func (m *LeaseAdminTokenResponse) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *LeaseAdminTokenResponse) GetLockTsNs() int64 {
if m != nil {
return m.LockTsNs
}
return 0
}
func (m *LeaseAdminTokenResponse) GetToken() int64 {
if m != nil {
return m.Token
}
return 0
}
type ReleaseAdminTokenRequest struct {
PreviousToken int64 `protobuf:"varint,1,opt,name=previous_token,json=previousToken" json:"previous_token,omitempty"`
PreviousLockTime int64 `protobuf:"varint,2,opt,name=previous_lock_time,json=previousLockTime" json:"previous_lock_time,omitempty"`
}
func (m *ReleaseAdminTokenRequest) Reset() { *m = ReleaseAdminTokenRequest{} }
func (m *ReleaseAdminTokenRequest) String() string { return proto.CompactTextString(m) }
func (*ReleaseAdminTokenRequest) ProtoMessage() {}
func (*ReleaseAdminTokenRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{37} }
func (m *ReleaseAdminTokenRequest) GetPreviousToken() int64 {
if m != nil {
return m.PreviousToken
}
return 0
}
func (m *ReleaseAdminTokenRequest) GetPreviousLockTime() int64 {
if m != nil {
return m.PreviousLockTime
}
return 0
}
type ReleaseAdminTokenResponse struct {
}
func (m *ReleaseAdminTokenResponse) Reset() { *m = ReleaseAdminTokenResponse{} }
func (m *ReleaseAdminTokenResponse) String() string { return proto.CompactTextString(m) }
func (*ReleaseAdminTokenResponse) ProtoMessage() {}
func (*ReleaseAdminTokenResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{38} }
type VerifyAdminTokenRequest struct {
Token int64 `protobuf:"varint,1,opt,name=token" json:"token,omitempty"`
LockTime int64 `protobuf:"varint,2,opt,name=lock_time,json=lockTime" json:"lock_time,omitempty"`
}
func (m *VerifyAdminTokenRequest) Reset() { *m = VerifyAdminTokenRequest{} }
func (m *VerifyAdminTokenRequest) String() string { return proto.CompactTextString(m) }
func (*VerifyAdminTokenRequest) ProtoMessage() {}
func (*VerifyAdminTokenRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{39} }
func (m *VerifyAdminTokenRequest) GetToken() int64 {
if m != nil {
return m.Token
}
return 0
}
func (m *VerifyAdminTokenRequest) GetLockTime() int64 {
if m != nil {
return m.LockTime
}
return 0
}
type VerifyAdminTokenResponse struct {
IsValid bool `protobuf:"varint,1,opt,name=is_valid,json=isValid" json:"is_valid,omitempty"`
}
func (m *VerifyAdminTokenResponse) Reset() { *m = VerifyAdminTokenResponse{} }
func (m *VerifyAdminTokenResponse) String() string { return proto.CompactTextString(m) }
func (*VerifyAdminTokenResponse) ProtoMessage() {}
func (*VerifyAdminTokenResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{40} }
func (m *VerifyAdminTokenResponse) GetIsValid() bool {
if m != nil {
return m.IsValid
}
return false
}
func init() {
proto.RegisterType((*Heartbeat)(nil), "master_pb.Heartbeat")
proto.RegisterType((*HeartbeatResponse)(nil), "master_pb.HeartbeatResponse")
@ -1516,6 +1654,12 @@ func init() {
proto.RegisterType((*GetMasterConfigurationResponse)(nil), "master_pb.GetMasterConfigurationResponse")
proto.RegisterType((*ListMasterClientsRequest)(nil), "master_pb.ListMasterClientsRequest")
proto.RegisterType((*ListMasterClientsResponse)(nil), "master_pb.ListMasterClientsResponse")
proto.RegisterType((*LeaseAdminTokenRequest)(nil), "master_pb.LeaseAdminTokenRequest")
proto.RegisterType((*LeaseAdminTokenResponse)(nil), "master_pb.LeaseAdminTokenResponse")
proto.RegisterType((*ReleaseAdminTokenRequest)(nil), "master_pb.ReleaseAdminTokenRequest")
proto.RegisterType((*ReleaseAdminTokenResponse)(nil), "master_pb.ReleaseAdminTokenResponse")
proto.RegisterType((*VerifyAdminTokenRequest)(nil), "master_pb.VerifyAdminTokenRequest")
proto.RegisterType((*VerifyAdminTokenResponse)(nil), "master_pb.VerifyAdminTokenResponse")
}
// Reference imports to suppress errors if they are not otherwise used.
@ -1540,6 +1684,9 @@ type SeaweedClient interface {
LookupEcVolume(ctx context.Context, in *LookupEcVolumeRequest, opts ...grpc.CallOption) (*LookupEcVolumeResponse, error)
GetMasterConfiguration(ctx context.Context, in *GetMasterConfigurationRequest, opts ...grpc.CallOption) (*GetMasterConfigurationResponse, error)
ListMasterClients(ctx context.Context, in *ListMasterClientsRequest, opts ...grpc.CallOption) (*ListMasterClientsResponse, error)
LeaseAdminToken(ctx context.Context, in *LeaseAdminTokenRequest, opts ...grpc.CallOption) (*LeaseAdminTokenResponse, error)
ReleaseAdminToken(ctx context.Context, in *ReleaseAdminTokenRequest, opts ...grpc.CallOption) (*ReleaseAdminTokenResponse, error)
VerifyAdminToken(ctx context.Context, in *VerifyAdminTokenRequest, opts ...grpc.CallOption) (*VerifyAdminTokenResponse, error)
}
type seaweedClient struct {
@ -1693,6 +1840,33 @@ func (c *seaweedClient) ListMasterClients(ctx context.Context, in *ListMasterCli
return out, nil
}
func (c *seaweedClient) LeaseAdminToken(ctx context.Context, in *LeaseAdminTokenRequest, opts ...grpc.CallOption) (*LeaseAdminTokenResponse, error) {
out := new(LeaseAdminTokenResponse)
err := grpc.Invoke(ctx, "/master_pb.Seaweed/LeaseAdminToken", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *seaweedClient) ReleaseAdminToken(ctx context.Context, in *ReleaseAdminTokenRequest, opts ...grpc.CallOption) (*ReleaseAdminTokenResponse, error) {
out := new(ReleaseAdminTokenResponse)
err := grpc.Invoke(ctx, "/master_pb.Seaweed/ReleaseAdminToken", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *seaweedClient) VerifyAdminToken(ctx context.Context, in *VerifyAdminTokenRequest, opts ...grpc.CallOption) (*VerifyAdminTokenResponse, error) {
out := new(VerifyAdminTokenResponse)
err := grpc.Invoke(ctx, "/master_pb.Seaweed/VerifyAdminToken", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for Seaweed service
type SeaweedServer interface {
@ -1707,6 +1881,9 @@ type SeaweedServer interface {
LookupEcVolume(context.Context, *LookupEcVolumeRequest) (*LookupEcVolumeResponse, error)
GetMasterConfiguration(context.Context, *GetMasterConfigurationRequest) (*GetMasterConfigurationResponse, error)
ListMasterClients(context.Context, *ListMasterClientsRequest) (*ListMasterClientsResponse, error)
LeaseAdminToken(context.Context, *LeaseAdminTokenRequest) (*LeaseAdminTokenResponse, error)
ReleaseAdminToken(context.Context, *ReleaseAdminTokenRequest) (*ReleaseAdminTokenResponse, error)
VerifyAdminToken(context.Context, *VerifyAdminTokenRequest) (*VerifyAdminTokenResponse, error)
}
func RegisterSeaweedServer(s *grpc.Server, srv SeaweedServer) {
@ -1927,6 +2104,60 @@ func _Seaweed_ListMasterClients_Handler(srv interface{}, ctx context.Context, de
return interceptor(ctx, in, info, handler)
}
func _Seaweed_LeaseAdminToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(LeaseAdminTokenRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SeaweedServer).LeaseAdminToken(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/master_pb.Seaweed/LeaseAdminToken",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SeaweedServer).LeaseAdminToken(ctx, req.(*LeaseAdminTokenRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Seaweed_ReleaseAdminToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ReleaseAdminTokenRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SeaweedServer).ReleaseAdminToken(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/master_pb.Seaweed/ReleaseAdminToken",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SeaweedServer).ReleaseAdminToken(ctx, req.(*ReleaseAdminTokenRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Seaweed_VerifyAdminToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(VerifyAdminTokenRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SeaweedServer).VerifyAdminToken(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/master_pb.Seaweed/VerifyAdminToken",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SeaweedServer).VerifyAdminToken(ctx, req.(*VerifyAdminTokenRequest))
}
return interceptor(ctx, in, info, handler)
}
var _Seaweed_serviceDesc = grpc.ServiceDesc{
ServiceName: "master_pb.Seaweed",
HandlerType: (*SeaweedServer)(nil),
@ -1967,6 +2198,18 @@ var _Seaweed_serviceDesc = grpc.ServiceDesc{
MethodName: "ListMasterClients",
Handler: _Seaweed_ListMasterClients_Handler,
},
{
MethodName: "LeaseAdminToken",
Handler: _Seaweed_LeaseAdminToken_Handler,
},
{
MethodName: "ReleaseAdminToken",
Handler: _Seaweed_ReleaseAdminToken_Handler,
},
{
MethodName: "VerifyAdminToken",
Handler: _Seaweed_VerifyAdminToken_Handler,
},
},
Streams: []grpc.StreamDesc{
{
@ -1988,142 +2231,156 @@ var _Seaweed_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("master.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 2183 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x59, 0xcd, 0x6f, 0x1b, 0xc7,
0x15, 0xf7, 0x92, 0x94, 0x48, 0x3e, 0x7e, 0x8f, 0x64, 0x85, 0x66, 0x62, 0x8b, 0xde, 0xa4, 0x88,
0xec, 0xa6, 0x6a, 0xaa, 0x04, 0x68, 0xd0, 0x34, 0x08, 0x2c, 0x59, 0x71, 0x05, 0x5b, 0x8a, 0xbd,
0x72, 0x1d, 0xa0, 0x40, 0xb1, 0x19, 0xee, 0x8e, 0xa4, 0x85, 0xf6, 0xab, 0xbb, 0x43, 0x59, 0x4c,
0x2f, 0x05, 0x7a, 0xec, 0xa9, 0xe8, 0xa1, 0xff, 0x42, 0x2f, 0x3d, 0xb5, 0x97, 0x5e, 0x72, 0xe9,
0x7f, 0xd4, 0x6b, 0x2e, 0xc5, 0x7c, 0xed, 0xce, 0x2e, 0x49, 0x29, 0x0a, 0x90, 0x83, 0x6f, 0xbb,
0xef, 0xbd, 0x79, 0xf3, 0xf6, 0xf7, 0xe6, 0xbd, 0xf9, 0x3d, 0x12, 0xda, 0x01, 0x4e, 0x29, 0x49,
0xb6, 0xe3, 0x24, 0xa2, 0x11, 0x6a, 0x8a, 0x37, 0x3b, 0x9e, 0x98, 0x7f, 0x59, 0x85, 0xe6, 0x6f,
0x08, 0x4e, 0xe8, 0x84, 0x60, 0x8a, 0xba, 0x50, 0xf1, 0xe2, 0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2a, 0xff, 0x8b, 0xee, 0xa3, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x6a,
0xee, 0xfc, 0x90, 0xb2, 0x1b, 0x00, 0x00,
// 2409 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x59, 0x4b, 0x6f, 0x1c, 0xc7,
0xf1, 0xd7, 0xec, 0xf2, 0xb1, 0x5b, 0xcb, 0x5d, 0xee, 0x36, 0x29, 0x6a, 0xb9, 0x96, 0x44, 0x6a,
0x6c, 0xc3, 0x94, 0xfe, 0xfe, 0x33, 0x0e, 0xed, 0x20, 0x46, 0x1c, 0xc3, 0xa0, 0x28, 0x5a, 0x21,
0x44, 0xd2, 0xd2, 0x90, 0x91, 0x01, 0x03, 0xc1, 0xb8, 0x39, 0xd3, 0xa4, 0x1a, 0x9c, 0x57, 0xa6,
0x7b, 0x29, 0xae, 0x73, 0x09, 0x92, 0x63, 0x4e, 0x41, 0x0e, 0xf9, 0x0a, 0xb9, 0xe4, 0x94, 0x9c,
0x7d, 0xc9, 0x77, 0xc8, 0x07, 0xc9, 0xd5, 0x97, 0xa0, 0x1f, 0x33, 0xd3, 0x33, 0xbb, 0x4b, 0x9a,
0x06, 0x1c, 0x40, 0xb7, 0xe9, 0xaa, 0xea, 0xea, 0xea, 0x5f, 0x75, 0xd7, 0xa3, 0x07, 0x16, 0x42,
0xcc, 0x38, 0x49, 0x37, 0x93, 0x34, 0xe6, 0x31, 0x6a, 0xaa, 0x91, 0x9b, 0x9c, 0xd8, 0x7f, 0x9a,
0x83, 0xe6, 0xaf, 0x08, 0x4e, 0xf9, 0x09, 0xc1, 0x1c, 0x75, 0xa0, 0x46, 0x93, 0xbe, 0xb5, 0x6e,
0x6d, 0x34, 0x9d, 0x1a, 0x4d, 0x10, 0x82, 0x99, 0x24, 0x4e, 0x79, 0xbf, 0xb6, 0x6e, 0x6d, 0xb4,
0x1d, 0xf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 0x9c, 0x12, 0x1b, 0x4b, 0xa7,
0x72, 0x5a, 0xc4, 0xb3, 0x6f, 0x9d, 0xcc, 0xc9, 0xdf, 0xd8, 0x1f, 0xfe, 0x37, 0x00, 0x00, 0xff,
0xff, 0x41, 0x4f, 0x53, 0xa0, 0xd6, 0x1e, 0x00, 0x00,
}

View File

@ -0,0 +1,107 @@
package weed_server
import (
"context"
"math/rand"
"time"
"github.com/chrislusf/seaweedfs/weed/pb/master_pb"
)
/*
How exclusive lock works?
-----------
Shell
------
When shell lock,
* lease an admin token (lockTime, token)
* start a goroutine to renew the admin token periodically
For later volume operations, send (lockTime, token) to volume servers for exclusive access
* need to pause renewal a few seconds, to prevent race condition
When shell unlock
* stop the renewal goroutine
* sends a release lock request
Master
------
Master maintains:
* randomNumber
* lastLockTime
When master receives the lease/renew request from shell
If lastLockTime still fresh {
if is a renew and token is valid {
// for renew
generate the randomNumber => token
return
}
refuse
return
} else {
// for fresh lease request
generate the randomNumber => token
return
}
When master receives the release lock request from shell
set the lastLockTime to zero
When master receives the verfication request from volume servers
return secret+lockTime == token && lockTime == lastLockTime
Volume
------
When receives (lockTime, token), ask the master whether this is valid
*/
const (
LockDuration = 10 * time.Second
)
func (ms *MasterServer) LeaseAdminToken(ctx context.Context, req *master_pb.LeaseAdminTokenRequest) (*master_pb.LeaseAdminTokenResponse, error) {
resp := &master_pb.LeaseAdminTokenResponse{}
if ms.adminAccessLockTime.Add(LockDuration).After(time.Now()) {
if req.PreviousToken != 0 && ms.isValidToken(time.Unix(0, req.PreviousLockTime), req.PreviousToken) {
// for renew
ts, token := ms.generateToken()
resp.Token, resp.LockTsNs = token, ts.UnixNano()
return resp, nil
}
// refuse since still locked
resp.Error = "already locked"
return resp, nil
}
// for fresh lease request
ts, token := ms.generateToken()
resp.Token, resp.LockTsNs = token, ts.UnixNano()
return resp, nil
}
func (ms *MasterServer) isValidToken(ts time.Time, token int64) bool {
return ms.adminAccessLockTime.Equal(ts) && ms.adminAccessSecret == token
}
func (ms *MasterServer) generateToken() (ts time.Time, token int64) {
ms.adminAccessLockTime = time.Now()
ms.adminAccessSecret = rand.Int63()
return ms.adminAccessLockTime, ms.adminAccessSecret
}
func (ms *MasterServer) ReleaseAdminToken(ctx context.Context, req *master_pb.ReleaseAdminTokenRequest) (*master_pb.ReleaseAdminTokenResponse, error) {
resp := &master_pb.ReleaseAdminTokenResponse{}
if ms.isValidToken(time.Unix(0, req.PreviousLockTime), req.PreviousToken) {
ms.adminAccessSecret = 0
}
return resp, nil
}
func (ms *MasterServer) VerifyAdminToken(ctx context.Context, req *master_pb.VerifyAdminTokenRequest) (*master_pb.VerifyAdminTokenResponse, error) {
resp := &master_pb.VerifyAdminTokenResponse{}
if ms.isValidToken(time.Unix(0, req.LockTime), req.Token) {
resp.IsValid = true
}
return resp, nil
}

View File

@ -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 {