Bump persisted PayloadVersion
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / ShardSnapshotCohort.java
index 3ed3a48770054dc709d7076b9c79bd8c30de1bf1..e936d4389b8b33f78e958bafc1437aef1940f229 100644 (file)
@@ -99,7 +99,7 @@ final class ShardSnapshotCohort implements RaftActorSnapshotCohort {
     @Override
     public State deserializeSnapshot(final ByteSource snapshotBytes) throws IOException {
         try (ObjectInputStream in = new ObjectInputStream(snapshotBytes.openStream())) {
-            return new ShardSnapshotState(ShardDataTreeSnapshot.deserialize(in));
+            return ShardDataTreeSnapshot.deserialize(in);
         }
     }
 }