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

Primary Key Index is not properly maintained by upsert feeds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      During upsert, the primary key index is not properly maintained and is always empty. The problem is that when upserting secondary indexes, we generate new values and old values to clean up secondaries. However, since there is no secondary key for the primary key index, the old value would always points to the new primary key. As a result, LSMSecondaryUpsertOperator would always think the secondary key values do not change, ignoring maintaining the primary key index.

      Attachments

        Activity

          People

            luochen01 Chen Luo
            luochen01 Chen Luo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: