Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
According to the comments, the field 'serializedSize' in ChunkGroupMetaData class means 'Byte size of this metadata'.
However, when you calculate the value in the method 'deserializeFrom' as we can see in the following, chunkGroupMetaData.deviceID.length() may not equal to the byte size of the string.
/** * Byte size of this metadata. this field is not serialized. */ private int serializedSize; chunkGroupMetaData.serializedSize = Integer.BYTES + chunkGroupMetaData.deviceID.length() + Integer.BYTES + Long.BYTES + Long.BYTES + Long.BYTES;
Attachments
Issue Links
- links to