[
https://issues.apache.org/jira/browse/IGNITE-19694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mikhail Pochatkin reassigned IGNITE-19694:
------------------------------------------
Assignee: Mikhail Pochatkin
> Introduce deployment unit operation ID
> --------------------------------------
>
> Key: IGNITE-19694
> URL: https://issues.apache.org/jira/browse/IGNITE-19694
> Project: Ignite
> Issue Type: Improvement
> Reporter: Mikhail Pochatkin
> Assignee: Mikhail Pochatkin
> Priority: Major
> Labels: 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)