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

ArrayIndexOutOfBoundsException when upserting a document with primary key longer than 1/4 of PageSize

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.9.9
    • 0.9.10
    • STO - Storage

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ritik.raj Ritik Raj
            ritik.raj Ritik Raj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment