Skip to content

Retryable operation failure should crash the app on startup as well #595

@4TT1L4

Description

@4TT1L4

Problem:

  • When Oura cannot connect to the Cardano Node (Source type: N2C), oura is not crashing on startup after the last retry fails. [NOK]

Solution:

  • After the retryable operation fails ultimatily after the last try on startup, Oura should be crashing, so it could try to recover from the error state. At the moment this is not the case, but Oura freezes and simply stops processing. [NOK]

Notes:

  • When Oura loses the connection to the Cardano Node when it is already operating, the application crashes. This is good, since Oura could try to recover on the next start. However: after the restart, if the Cardano Node is still not available after the last retry, Oura just stops processing and nothing happens.
  • Workaround: change the Oura config to retry long enough, so the Cardano Node has time to recover.
  • Version information: v1.8.1

Logs:

image

retry_policy config:

[source]
type = "N2C"

 < < < some more config > > >

[sink.retry_policy]
max_retries = 5
backoff_unit = 1000
backoff_factor = 2
max_backoff = 100000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions