Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-2491

Recovery fail for large tuples (short integer overflow)

    XMLWordPrintableJSON

Details

    Description

      I've been running some tests with pretty large objects (~100KB). But it seems the field end offsets in the log buffer are of type short [1, 2]. For large fields (> 32KB), the field end offset is going to be a negative value due to overflow. When recovery kicks in, I get an exception that "The length must be a non-negative value".

      [1] SimpleTupleWriter
      [2] SimpleTupleReference

      Attachments

        1. cc.log
          26 kB
          Wail Y. Alkowaileet
        2. nc-1.log
          134 kB
          Wail Y. Alkowaileet

        Issue Links

          Activity

            People

              wyk Wail Y. Alkowaileet
              wyk Wail Y. Alkowaileet
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: