You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Mikhail Pochatkin (Jira)" <ji...@apache.org> on 2023/05/18 08:58:00 UTC

[jira] [Created] (IGNITE-19518) Add unit validation after node restart

Mikhail Pochatkin created IGNITE-19518:
------------------------------------------

             Summary: 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


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)