Uploaded image for project: 'Corda'
  1. CORDA-2737

The FlowProgressHandle does not always return expected results

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: Highest
    • Resolution: Done
    • Affects versions: Corda 4, Corda Enterprise 4 RC04
    • Fix versions: Corda 4.1
    • Components: None
    • Labels:
      None

      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.

          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

        Attachments

          Activity

            People

            • Assignee:
              james.higgs James Higgs
              Reporter:
              Tudor.Malene Tudor Malene
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: