Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
Description
If a transaction was committed/aborted, but for any reason the cleanup operation was not performed on a node, the write intent entries would still be present in the storage.
When an RO transaction sees write intents, no matter on primary or on any other node, it performs write intent resolution and returns the correct result.
When an RW transaction sees write intents (happens on primary only), it also performs write intent resolution and cleanup (done in IGNITE-20395, IGNITE-20445), so we are safe.
But it works only for those RW transactions that perform READ operation before making any changes. This is not the case for Upsert. So we need to change it to read data (hence write intent resolution and cleanup).
Definition of Done
Upsert operation execution should result in write intent resolution and cleanup if the affected rows still contain write intents of a finished transaction.
Attachments
Attachments
Issue Links
- relates to
-
IGNITE-20395 Clean up write intents for RW transaction on primary
- Resolved
-
IGNITE-20445 Clean up write intents for RW transaction on replication group nodes
- Resolved