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

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: