You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5.4 Timing Window?
I found a potential bug that is revealed with the development build. The scenario is as follows:
Use plus2json to produce job definitions for
AAExtraJobInvariantSourceJob.puml
ExtraJobInvariantUserJob1.puml
Launch Protocol Verifier.
Use plus2json to play AAExtraJobInvariantSourceJob.puml.
This will cause an extra-job invariant to be persisted.
Bring down the Protocol Verifier.
Re-launch the Protocol Verifier.
Use plus2json to play ExtraJobInvariantUserJob1.puml.
I observe that this job fails. If I play the same job again, it succeeds.
In the relaunch of Protocol Verifier, I observe that IStore loads the persisted invariants immediately and sends them (it) to Sequence Verification. However, Sequence Verification has not (even) loaded job definitions, yet. So it does not recognise the invariants, because it has no invariants defined in the instance population (yet).
This scenario is run with eji_reboot.sh.
I have not attempted to reproduce this in the multi-process (Kafka) space, yet.
The text was updated successfully, but these errors were encountered:
SVDC requests restoration of an invariant from IStore. IStore responds
immediately and gets an event queued to SVDC ahead of the event that is
to put SVDC into the wait state (waiting on Persistence).
The solution initially proposed here it to use an accelerated event to self
in place of the polymorphic event.
An alternative is to add a transition between Assessing and Reassessing.
IStore was proactively reporting all invariants to SVDC. This is
not necessary and turns out to sometimes fail (SVDC not ready for them).
With multiple workers working on different jobs, with different invariants,
it will be better to report on the invariants requested (one by one) by SVDC.
5.4 Timing Window?
I found a potential bug that is revealed with the development build. The scenario is as follows:
Use plus2json to produce job definitions for
AAExtraJobInvariantSourceJob.puml
ExtraJobInvariantUserJob1.puml
Launch Protocol Verifier.
Use plus2json to play AAExtraJobInvariantSourceJob.puml.
This will cause an extra-job invariant to be persisted.
Bring down the Protocol Verifier.
Re-launch the Protocol Verifier.
Use plus2json to play ExtraJobInvariantUserJob1.puml.
I observe that this job fails. If I play the same job again, it succeeds.
In the relaunch of Protocol Verifier, I observe that IStore loads the persisted invariants immediately and sends them (it) to Sequence Verification. However, Sequence Verification has not (even) loaded job definitions, yet. So it does not recognise the invariants, because it has no invariants defined in the instance population (yet).
This scenario is run with eji_reboot.sh.
I have not attempted to reproduce this in the multi-process (Kafka) space, yet.
The text was updated successfully, but these errors were encountered: