xtuml / munin

Apache License 2.0
1 stars 0 forks source link

Mun2 122 second phase - Synchronised deletion of VerifiableJob #171

Closed PaulAtAurora closed 6 months ago

PaulAtAurora commented 6 months ago

A 'forking bridge' implementation of the SVDC JobAdmin~>deleteJob terminator service now results in synchronous deletion of the counterpart Job in AEO and an asynchronous deletion of the counterpart VerifiableJob in the VerificationGateway domain.

The asynchronous deletion in VerificationGateway is to allow the final AEO-generated PV instrumentation event to get processed before the respective VerifiableJob is deleted.

This currently works because the VerificationGateway domain is deployed within the SAME process as AEO and SVDC (for the same jobs). A potential next stage of development will to make deletion of the counterpart instances of VerifiableJob impervious to whether the VerificationGateway domain is deployed in the same or different process instance.

A new single domain test has been devised to test satisfactory deletion of instances of VerifiableJob (and its associated InstrumentationEvents).

All single domain tests succeeded and regression tests all passed.