Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FireFly gets stuck processing events from an unknown listener #1460

Open
awrichar opened this issue Feb 2, 2024 · 1 comment
Open

FireFly gets stuck processing events from an unknown listener #1460

awrichar opened this issue Feb 2, 2024 · 1 comment

Comments

@awrichar
Copy link
Contributor

awrichar commented Feb 2, 2024

For each blockchain event batch, FireFly attempts to re-query the blockchain connector to get the listener name from the listener ID. If it happens that the listener has actually been deleted by the time FireFly performs this request, then FireFly refuses to process the batch. However, this causes the connector to redeliver the batch indefinitely, causing FireFly to get stuck in a loop where it cannot process the events.

[2024-02-01T22:42:03.789Z] ERROR Rejecting batch due error: FF10111: Error from ethereum connector: {"error":"FF21046: Event listener '018d65ec-322c-2286-ee27-a92f8ad51122' not found"} pid=1 proto=ethereum role=event-loop
@awrichar
Copy link
Contributor Author

awrichar commented Feb 2, 2024

Possible solutions:

  • have blockchain connectors proactively add the listener name, to avoid this query
  • gracefully handle this specific error in FireFly and drop the batch
  • make blockchain connector realize the listener is gone and stop delivering the event

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant