You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Ritik Raj (Jira)" <ji...@apache.org> on 2024/09/24 05:40:00 UTC

[jira] [Resolved] (ASTERIXDB-3504) ArrayIndexOutOfBoundsException when upserting a document with primary key longer than 1/4 of PageSize

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

Ritik Raj resolved ASTERIXDB-3504.
----------------------------------
    Resolution: Fixed

> ArrayIndexOutOfBoundsException when upserting a document with  primary key longer than 1/4 of PageSize
> ------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERIXDB-3504
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3504
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: STO - Storage
>    Affects Versions: 0.9.9
>            Reporter: Ritik Raj
>            Assignee: Ritik Raj
>            Priority: Critical
>              Labels: triaged
>             Fix For: 0.9.10
>
>
> There is an error in setting splitKey ( which becomes maxKey) for the first tuple if the count of the tuple getting inserted is > 1, which screws up the calculation of isFull(), hence no new page is confiscated even if the second tuple can't fit in the pageZero.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)