Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
fa60a7c1
Commit
fa60a7c1
authored
Jan 16, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
28586317
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
go/neo/server/master.go
go/neo/server/master.go
+2
-2
No files found.
go/neo/server/master.go
View file @
fa60a7c1
...
@@ -179,7 +179,7 @@ func (m *Master) Run(ctx context.Context) (err error) {
...
@@ -179,7 +179,7 @@ func (m *Master) Run(ctx context.Context) (err error) {
// for storages the only incoming connection is for RequestIdentification
// for storages the only incoming connection is for RequestIdentification
// and then master only drives it. So close accept as noone will be
// and then master only drives it. So close accept as noone will be
// listening for it on
y
our side anymore.
// listening for it on our side anymore.
switch
idReq
.
NodeType
{
switch
idReq
.
NodeType
{
case
neo
.
CLIENT
:
case
neo
.
CLIENT
:
// ok
// ok
...
@@ -214,7 +214,7 @@ func (m *Master) Run(ctx context.Context) (err error) {
...
@@ -214,7 +214,7 @@ func (m *Master) Run(ctx context.Context) (err error) {
}
}
// runMain is the process which implements main master cluster management logic: node tracking, cluster
// runMain is the process which implements main master cluster management logic: node tracking, cluster
// state updates, scheduling data movement between storage nodes etc
// state updates, scheduling data movement between storage nodes etc
.
func
(
m
*
Master
)
runMain
(
ctx
context
.
Context
)
(
err
error
)
{
func
(
m
*
Master
)
runMain
(
ctx
context
.
Context
)
(
err
error
)
{
defer
task
.
Running
(
&
ctx
,
"main"
)(
&
err
)
defer
task
.
Running
(
&
ctx
,
"main"
)(
&
err
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment