diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2019-11-11 22:48:43 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-11 22:48:43 -0800 |
| commit | 5d61b67e62deabd538b8e6e5374aa5883db02fe2 (patch) | |
| tree | 616583cdfdd2803465345fee4ee4cdbcba5f72aa /weed/operation/assign_file_id.go | |
| parent | ee90236a972acea8722dccfa1b04926d551fc82d (diff) | |
| parent | 46755ea1e1e4d79e4c0368aa7fcb17ee8aa812cc (diff) | |
| download | seaweedfs-5d61b67e62deabd538b8e6e5374aa5883db02fe2.tar.xz seaweedfs-5d61b67e62deabd538b8e6e5374aa5883db02fe2.zip | |
Merge pull request #1115 from iliul/enhanced-master-logic
fix master maintenance logic
Diffstat (limited to 'weed/operation/assign_file_id.go')
| -rw-r--r-- | weed/operation/assign_file_id.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/weed/operation/assign_file_id.go b/weed/operation/assign_file_id.go index 2971cddbb..2dfa44483 100644 --- a/weed/operation/assign_file_id.go +++ b/weed/operation/assign_file_id.go @@ -47,13 +47,13 @@ func Assign(server string, grpcDialOption grpc.DialOption, primaryRequest *Volum lastError = WithMasterServerClient(server, grpcDialOption, func(masterClient master_pb.SeaweedClient) error { req := &master_pb.AssignRequest{ - Count: primaryRequest.Count, - Replication: primaryRequest.Replication, - Collection: primaryRequest.Collection, - Ttl: primaryRequest.Ttl, - DataCenter: primaryRequest.DataCenter, - Rack: primaryRequest.Rack, - DataNode: primaryRequest.DataNode, + Count: primaryRequest.Count, + Replication: primaryRequest.Replication, + Collection: primaryRequest.Collection, + Ttl: primaryRequest.Ttl, + DataCenter: primaryRequest.DataCenter, + Rack: primaryRequest.Rack, + DataNode: primaryRequest.DataNode, WritableVolumeCount: primaryRequest.WritableVolumeCount, } resp, grpcErr := masterClient.Assign(context.Background(), req) |
