Chen Luo created ASTERIXDB-2429:
-----------------------------------

             Summary: Primary Key Index is not properly maintained by upsert 
feeds
                 Key: ASTERIXDB-2429
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2429
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: ING - Ingestion, STO - Storage
            Reporter: Chen Luo


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.



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

Reply via email to