We're updating the issue view to help you get more done. 

The FlowProgressHandle does not always return expected results

Description

To replicate:

  1. start trader-demo

  2. from an rpc client run in a loop: startTrackedFlowDynamic - CashIssueAndPaymentFlow

  3. save the events from the observer

There should be a sequence of 13 events for each flow, but in reality the result is less.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 val expected = listOf( "Generating transaction", "Signing transaction", "Finalising transaction", "Broadcasting transaction to participants", "Generating anonymous identities", "Generating transaction", "Signing transaction", "Finalising transaction", "Requesting signature by notary service", "Requesting signature by Notary service", "Validating response from Notary service", "Broadcasting transaction to participants", "Done" )

On Enterprise, when I try locally with 500 flows :

  • around 250-300 lack the first "Generating transaction" entry

  • around 100 have all entries

  • the rest lack more entries

On OS:

  • 80% lack the first entry

  • 5-10% lack more

Status

Assignee

James Higgs

Reporter

Tudor Malene

Priority

Highest

Labels

None

Severity

Medium

Fix versions

Ported to...

None

Feature Team

Corda Core

Affects versions

Corda 4
Corda Enterprise 4 RC04