Open issues

Fail to deserialize when call optimize

Description

instance = DocSetFactory.getPForDeltaDocSetInstance();
instance.addDoc(1);
....
instance.optimize(); //if no line,works fine!

val bytes = PForDeltaDocIdSet.serialize(obj)

val bytesSize = new Array[Byte](Conversion.BYTES_PER_INT)
input.read(bytesSize)
val totalNumInt = Conversion.byteArrayToInt(bytesSize, 0)
val bytesData = new Array[Byte](totalNumInt * Conversion.BYTES_PER_INT)
input.read(bytesData)
PForDeltaDocIdSet.deserialize(bytesData,0)

Environment

None

Status

Assignee

hao yan

Reporter

Jun Tsai

Labels

None

Components

Affects versions

Priority

Major
Configure