Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bug 5740: Remove Serializable where not necessary
[controller.git]
/
opendaylight
/
md-sal
/
sal-akka-raft
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
raft
/
messages
/
ServerChangeStatus.java
diff --git
a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/ServerChangeStatus.java
b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/ServerChangeStatus.java
index 7616fe6743fd61f3b04f94baa6126ba77e687fce..ca6f34c5c446e499157aac9cc9451e8e6bf1b6cf 100644
(file)
--- a/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/ServerChangeStatus.java
+++ b/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/ServerChangeStatus.java
@@
-45,7
+45,12
@@
public enum ServerChangeStatus {
PRIOR_REQUEST_CONSENSUS_TIMEOUT,
/**
PRIOR_REQUEST_CONSENSUS_TIMEOUT,
/**
- * An unsupported request, for example removing the
current leader may not be supported (at least initially)
+ * An unsupported request, for example removing the
leader in a single node cluster.
*/
NOT_SUPPORTED,
*/
NOT_SUPPORTED,
+
+ /**
+ * Some part of the request is invalid.
+ */
+ INVALID_REQUEST,
}
}