new FastBlobWriter(stateEngine1, 0).writeSnapshot(new DataOutputStream(serializedSnapshotState1));
/// serialize the state engine
ByteArrayOutputStream serializedStateEngine1 = new ByteArrayOutputStream();
stateEngine1.serializeTo(serializedStateEngine1);
/// server is restarted with updated serializers
FastBlobStateEngine stateEngine2 = new FastBlobStateEngine(state2Factory());
/// deserialize the state engine from the previous server (with the old serializers)