[ 
https://issues.apache.org/jira/browse/IGNITE-19518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey N. Gura updated IGNITE-19518:
------------------------------------
    Labels: iep-103 ignite-3  (was: ignite-3)

> Add unit validation after node restart
> --------------------------------------
>
>                 Key: IGNITE-19518
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19518
>             Project: Ignite
>          Issue Type: New Feature
>            Reporter: Mikhail Pochatkin
>            Priority: Major
>              Labels: iep-103, ignite-3
>
> h3. Validation after node restart
> Every deployment unit with nodeDURecord.status == DEPLOYED must be validated 
> in order to prevent a situation when the deployment unit was undeployed and 
> then deployed again with the same deployment unit ID and version but with 
> different content (some kind of [ABA 
> problem|https://en.wikipedia.org/wiki/ABA_problem]). The nodeDURecord.depOpId 
> and corresponding clusterDURecord.depOpId must be the same. Otherwise the 
> deployment unit should be removed from the node.
>  
> For every nodeDURecord(depOpId, UPLOADING) record corresponding 
> clusterDURecord(depOpId, DEPLOYED) or clusterDURecord(depOpId, UPLOADING) 
> must exist. Otherwise the invalid deployment unit must be removed from the 
> node.
>  
> For every nodeDURecord(depOpId, DEPLOYED) record corresponding 
> clusterDURecord(depOpId, DEPLOYED) or clusterDURecord(depOpId, UPLOADING) 
> must exist. Otherwise the invalid deployment unit must be removed from the 
> node.
> For every nodeDURecord(depOpId, OBSOLETE) or nodeDURecord(depOpId, REMOVING) 
> record corresponding clusterDURecord(depOpId, OBSOLETE) or 
> clusterDURecord(depOpId, REMOVING) must exist. Otherwise the invalid 
> deployment unit must be removed from the node.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to