EgorKuts opened a new pull request, #6960:
URL: https://github.com/apache/ignite-3/pull/6960

   This PR fixes NPE in write intent resolution caused by the following 
sequence of events:
   1. The commit partition(node A) commits the transaction
   2. Vacuum trigers on node A and cleans the volotile storage of the 
transaction
   3. Primary replica of the commit partition swithces to another node B
   4. Node B performs the clean up and sends cleanup replicated confirmation to 
node A
   5. Node A receives the cleanup confirmation, calls markTxnCleanupReplicated 
and saves invalid  TxStateMeta in the volotile storage with tsState=COMMITED 
and commitTimestamp=NULL.
   6. A write intent resolution happens on node A and it reads the broken 
txMeta from step 5 and causes NPE.
   
   https://issues.apache.org/jira/browse/IGNITE-27014


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to