Skip to content

Commit

Permalink
[FLINK-4332] [checkpoints] Fix SavepointV1Serializer read() / readFul…
Browse files Browse the repository at this point in the history
…ly()
  • Loading branch information
StephanEwen committed Aug 8, 2016
1 parent cd98e85 commit 3f3bab1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public SavepointV0 deserialize(DataInputStream dis) throws IOException {
serializedValue = new SerializedValue<>(null);
} else {
byte[] serializedData = new byte[length];
dis.read(serializedData, 0, length);
dis.readFully(serializedData, 0, length);
serializedValue = SerializedValue.fromBytes(serializedData);
}

Expand All @@ -165,7 +165,7 @@ public SavepointV0 deserialize(DataInputStream dis) throws IOException {
serializedValue = new SerializedValue<>(null);
} else {
byte[] serializedData = new byte[length];
dis.read(serializedData, 0, length);
dis.readFully(serializedData, 0, length);
serializedValue = SerializedValue.fromBytes(serializedData);
}

Expand Down

0 comments on commit 3f3bab1

Please sign in to comment.