You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Michael Blow (JIRA)" <ji...@apache.org> on 2019/03/07 17:17:00 UTC

[jira] [Resolved] (ASTERIXDB-2491) Recovery fail for large tuples (short integer overflow)

     [ https://issues.apache.org/jira/browse/ASTERIXDB-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Blow resolved ASTERIXDB-2491.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9.5

> Recovery fail for large tuples (short integer overflow)
> -------------------------------------------------------
>
>                 Key: ASTERIXDB-2491
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2491
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: HYR - Hyracks, TX - Transactions
>            Reporter: Wail Alkowaileet
>            Assignee: Wail Alkowaileet
>            Priority: Critical
>             Fix For: 0.9.5
>
>         Attachments: cc.log, nc-1.log
>
>
> 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|https://github.com/apache/asterixdb/blob/6b31f73565a3b16e0dd1fce9ea010e640c53ca79/hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/tuples/SimpleTupleWriter.java#L106]
> [2] [SimpleTupleReference|https://github.com/apache/asterixdb/blob/6b31f73565a3b16e0dd1fce9ea010e640c53ca79/hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/tuples/SimpleTupleReference.java#L86]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)