Uploaded image for project: 'Kamikaze'
  1. KAMI-32

Fail to deserialize when call optimize

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: 3.0.6
    • Fix versions: None
    • Components: core
    • Labels:
      None
    • Sprint:

      Description

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

      val bytes = PForDeltaDocIdSet.serialize(obj)

      val bytesSize = new ArrayByte(Conversion.BYTES_PER_INT)
      input.read(bytesSize)
      val totalNumInt = Conversion.byteArrayToInt(bytesSize, 0)
      val bytesData = new ArrayByte(totalNumInt * Conversion.BYTES_PER_INT)
      input.read(bytesData)
      PForDeltaDocIdSet.deserialize(bytesData,0)

        Attachments

          Activity

            People

            • Assignee:
              hyan hao yan
              Reporter:
              jcai Jun Tsai
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: