Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Yuta HIGUCHI
2014-10-24 22:23:17 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
305ec83471cef285632b0682b9e864e84ba48af3
305ec834
1 parent
a9700c7a
add debug log
Change-Id: I0fe955fd5a3a5916fbfb071502b415476b9af240
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
core/net/src/main/java/org/onlab/onos/net/device/impl/DeviceManager.java
core/net/src/main/java/org/onlab/onos/net/device/impl/DeviceManager.java
View file @
305ec83
...
...
@@ -386,6 +386,10 @@ public class DeviceManager
if
(!
myNodeId
.
equals
(
term
.
master
()))
{
// something went wrong in consistency, let go
log
.
warn
(
"Mastership has changed after this event."
+
"Term Service suggests {} for {}"
,
term
,
did
);
// FIXME: Is it possible to let go of MASTER role
// but remain on STANDBY list?
mastershipService
.
relinquishMastership
(
did
);
applyRole
(
did
,
MastershipRole
.
STANDBY
);
return
;
...
...
Please
register
or
login
to post a comment