commit | 91768e30e58d3d3357856ae796bbff25f73c6086 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Sat Nov 22 05:06:35 2014 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Sat Nov 22 19:35:28 2014 -0800 |
tree | f16ae0e8ff5752337c1f502fbb719c0ec97b6a6f | |
parent | 7b403bc101970353284eabd699dee11027b6c29a [diff] [blame] |
Kryo related fixes - KryoNamespace to allow control over registration id Change-Id: Idc2a0e27a09916657c725ee97e4366109144cc66
diff --git a/core/store/dist/src/main/java/org/onlab/onos/store/service/impl/DatabaseClient.java b/core/store/dist/src/main/java/org/onlab/onos/store/service/impl/DatabaseClient.java index c3f9118..17f356b 100644 --- a/core/store/dist/src/main/java/org/onlab/onos/store/service/impl/DatabaseClient.java +++ b/core/store/dist/src/main/java/org/onlab/onos/store/service/impl/DatabaseClient.java
@@ -54,7 +54,7 @@ @Override public void handle(ClusterMessage message) { LeaderElectEvent event = - ClusterMessagingProtocol.SERIALIZER.decode(message.payload()); + ClusterMessagingProtocol.DB_SERIALIZER.decode(message.payload()); TcpMember newLeader = event.leader(); long newLeaderTerm = event.term(); if (newLeader != null && !newLeader.equals(currentLeader) && newLeaderTerm > currentLeaderTerm) {